LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 05-01-2005, 11:47 AM   #1
crep
Member
 
Registered: Aug 2004
Location: US
Distribution: Fedora, FBSD, Solaris
Posts: 46

Rep: Reputation: 15
Samba on my File Server


Hey all,

I have a SCSI array of 8 disks. This plugs into my SCSI card, and after being setup in the SCSI bios, appears to the OS as one disk. Woop-de-do.

My box is kind of lame. I figured that over the network, the file transactions couldn't be THAT hard-core, so I used one of my 266 MHz speed demons, with 192 MB RAM. (Pluss 100 meg NIC)

SO: I put SuSE on it. Runs fine, I can write to the disk and all that. I setup the samba server, that works great. So, the samaba share "stuff" goes to /share, which is where the SCSI array is mounted.

I go to my desktop and start copying over my files. Rats: I only got to about 18 MegaBITS on the network: that's about 2 MegaBYTES a second. Hm.

I get a shell on the file server while this is transfering. Turns out, the process smbd (the samba daemon) is pegging the CPU at about 60%, with the remaining 30-40% being used by the SYSTEM.

So my question is, what's up? I can't imagine that file transfer things take THAT much CPU, should it? Did I configure something wrong?

Thanks,

-Jack C
http://www.crepinc.com/
 
Old 05-02-2005, 08:23 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
well samba shouldn't have a problem with that.

Did you configure something wrong? How do we know? you didn't show us your config... we're not psychic.

the most common "performance" fix is to increase packet sizes for samba. check you have the line
Code:
        socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
in your smb.conf. this is more on the networking side though, not the cpu side...
 
  


Reply



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
Samba file server Temujin_12 *BSD 14 06-11-2005 07:50 PM
File Server - File system? Samba SUSE9 crazyswede Linux - Newbie 1 04-14-2005 10:04 AM
Samba File Server taydu3000 Linux - Networking 2 04-05-2005 09:35 PM
samba as a file server/share mnadeemrao Linux - Software 0 10-30-2003 05:21 AM
Samba file server pili Linux - Software 9 08-18-2003 09:36 AM

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

All times are GMT -5. The time now is 05:57 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