- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- samba-2.2.5 performance problem.
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2002 02:51 PM
09-19-2002 02:51 PM
samba-2.2.5 performance problem.
I have been using samba-2.0.3 on a K220/2 box with HPUX10.20 for some time now. Performance was quite good with up to 40 developers at one time running Eclipse/ClearCase.
Now I have shifted all this to a R390/2 with HPUX11.00 with samba-2.2.5. The R390/2 is a faster box than the K220/2, however performance has degraded a HUGE amount.
I've fired up glance and found that the disk that handles /var is sitting smack on 100%. Further investigation - it was the samba processes writing continuously to either unexpected.tdb and locking.tdb. NOTE: the size does NOT increase, (as with other complaints about samba). The samaba processes are just whacking these files at a horrenduous rate.
I had to turn of oplocks because performance was REALLY REALLY slow.
Anyone come across this?
Attached is my samba config, (names and addresses changed to protect the innocent).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-24-2002 04:36 AM
09-24-2002 04:36 AM
Re: samba-2.2.5 performance problem.
========================
Ok, the lseek/read pairs are searching within a tdb for free space on a system that doesn't support mmap correctly.
My guess is that you are being hit with a lot of unexpected udp packets on port 137, you may want to look into what is causing this on your network.
To make the tdb space allocation more efficient you might want to increase the hash size in libsmb/unexpected.c by using the following patch :
Hope this helps,
Jeremy.
=======================
I have attached the patch he sent to me. I have not tried it with 2.2.5 (I'm waiting for 2.2.6). Note that there have been documented problems relating to mmap with Samba on HP-UX.
Good Luck!
Dave Windsor
Robert Bosch Corporation
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-02-2003 05:53 PM
02-02-2003 05:53 PM
Re: samba-2.2.5 performance problem.
I can get back to a decent performance if I set the following in smb.conf file:
oplocks = no
level2 oplocks = no
blocking locks = no
This will give me adequate performance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-02-2003 08:48 PM
02-02-2003 08:48 PM
Re: samba-2.2.5 performance problem.
You need extra space on it. The system needs space there to write all kinds of important log data.
If you have online JFS, extend the logical volume and filesystem, immediately.
If not, follow this procedure.
Reboot system, interupt at the 10 second prompt.
type bo
enter
hpux -is
after the system boots, mount the /usr fs
mount /usr
lvextend the logical volume
extendfs the filesystem
cd /
shutdown -ry now
The current version of CIFS for HP-UX is linked below.
You should use this versus the compiled source version. HP's tested it and supports it.
I do not think your problem thouth has anything to do with Samba. Can't run a UX box with var near 100%, the box can stop suddenly and in a catastrophic fashion.
P
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-02-2003 08:48 PM
02-02-2003 08:48 PM
Re: samba-2.2.5 performance problem.
You need extra space on it. The system needs space there to write all kinds of important log data.
If you have online JFS, extend the logical volume and filesystem, immediately.
If not, follow this procedure.
Reboot system, interupt at the 10 second prompt.
type bo
enter
hpux -is
after the system boots, mount the /usr fs
mount /usr
lvextend the logical volume
extendfs the filesystem
cd /
shutdown -ry now
The current version of CIFS for HP-UX is linked below.
You should use this versus the compiled source version. HP's tested it and supports it.
I do not think your problem thouth has anything to do with Samba. Can't run a UX box with var near 100%, the box can stop suddenly and in a catastrophic fashion.
https://payment.ecommerce.hp.com/cgi-bin/swdepot_parser.cgi/cgi/try.pl?productNumber=B8725AA&date=
P
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-02-2003 08:52 PM
02-02-2003 08:52 PM
Re: samba-2.2.5 performance problem.
If the /var part helps, thats fine.
10 lashes for Steve with a wet noodle.
wap
wap
wap
wap
wap
wap
wap
wap
wap
wap
Bad fingers.
Steve
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-04-2003 05:28 AM
02-04-2003 05:28 AM