LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 09-25-2006, 06:27 PM   #1
Basslord1124
Member
 
Registered: Jun 2004
Location: KY
Distribution: Debian, Mint, Puppy
Posts: 507

Rep: Reputation: 51
Samba performance...hardware??


All right, having some slight Samba performance issues and I am starting to wonder if it's more of my hardware versus settings in the config file. Let me explain the issue I am having.

Basically my Linux computer acts as my file and media server. Sometimes what I will do is pull up a big list of my MP3's and listen to them while I am doing things. It will play them fine for a while, then one of em will start skipping. Eventually the skipping subsides and it resumes like normal. NOW, here as of recent, I have also been doing some studying for the CCNA and I have stored the CCNA (Academy) curriculum on my server. When I view it and listen to my music, the skipping becomes more frequent...and sometimes the curriculum will freeze a tad when I'm going to the next page. Eventually it will subside and resume like normal. Here are my socket option settings of my smb.conf file:

socket options = IPTOS_LOWDELAY TCP_NODELAY SO_KEEPALIVE SO_RCVBUF=4096 SO_SNDBUF=4096

I have tweaked the buffers a lot and for some reason, the lower they are the better. In terms of hardware, well it's nothing impressive but it works: 1Ghz PIII, 192MB RAM, 7200RPM 80GB HD.

I am really thinking that I need a tad more power (particularly more RAM). Do you all think it's hardware or is there something possibly in smb.conf I could add to help some?
 
Old 09-26-2006, 03:30 PM   #2
crashsystems
Member
 
Registered: May 2006
Location: Tennessee et. al
Distribution: Debian Sid, Etch
Posts: 138

Rep: Reputation: Disabled
Well, if you posted your smb.conf file that would help a lot. Also, do a hard drive performance test by typing the command:
Code:
hdparm -t /dev/hda1
Substitute /dev/hda for the path to the driver file of the partition you want to test, then post that as well. Also, run the following commands and post the output.
Code:
hdparm -m /dev/hda1
hdparm -d /dev/hda1
Check out ps -a to see how many processes you have running. I bet that your ram is the biggest slow down on your computer, so you might want to look into upgrading your system to at least 512MB. Do those things and we might be able to see what is slowing down your computer.

crashsystems
 
Old 09-27-2006, 11:58 AM   #3
ARC1450
Member
 
Registered: Jun 2005
Location: Odenton, MD
Distribution: Gentoo
Posts: 290

Rep: Reputation: 30
Uh, I've got a K6-3 450 with 192MB of RAM doing more than that and the MP3's never hiccup, nor do the movies that I watch directly off the server. The MP3's don't even skip when I'm moving massive (IE, hundreds of megs to a gig) worth of data to and from the server. I mean, it's doing IRC, Shoutcast encode and casting, file server/dc for 4 computers. The utilization on that thing is always at least sitting at 50% if not higher due to the shoutcast, and neither shoutcast or the mp3/video streaming on the home network hiccups. The only time I got a hiccup (and it was a hellacious one) was when I enabled ClamAV scanning on it. Woops. :-P

The only thing I MIGHT think would be the problem would be, what kind of NIC are you using? Hard drive speed? Stuff like that. Or, what type of switch are you using? A P3 1GHz should be able to handle that load with 128MB of RAM no issue.

Last edited by ARC1450; 09-27-2006 at 12:02 PM.
 
  


Reply

Tags
buffer, hdparm, performance, samba, server, smbconf



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Slow Hardware RAID performance (Adaptec 2400A) Arodef Linux - Hardware 9 07-20-2006 12:06 AM
Slackware vs Windows performance on old hardware superandrzej Slackware 16 02-16-2006 07:50 AM
Hardware performance calutateo Linux - Hardware 2 01-27-2005 10:43 PM
Doom3 + Good Hardware = Bad performance oneman00 Linux - Games 13 10-17-2004 06:46 PM
Fedora Hardware check & performance Issues kkempter Fedora 2 01-15-2004 07:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:27 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration