Samba - High CPU

This forum is for all other ARMv5 devices

Samba - High CPU

Postby Cybertimber2009 » Fri Jun 17, 2011 10:28 pm

Can anyone else try to confirm this?

I installed Samba and exported a drive that I have connected (4GB flash drive). Everything was successfull and I was able to connect to the share from my Windows 7 PC. When I created a new folder, everything was good... text file, good. When I copied a small PDF, still good.

Then I tried a .iso. A ~260MB iso copied, but took awhile. But then when I tried a larger (~600MB) iso... it failed. Windows said it was unable to connect to the share.

Here's what I know.
- From doing near constant "ls -lh" on the shared directory, I can see the file size growing... but there is next to zero network traffic. Once it reaches the file size as the original is, it starts using network traffic.
- When I try to copy a large file (the smallest large file I had was 160MB), the CPU usage goes way up and stays there until the file transfer finishes.

Is the processor simply too slow to handle a large network transfer?
Cybertimber2009
 
Posts: 40
Joined: Wed Jun 08, 2011 9:17 pm

Re: Samba - High CPU

Postby WarheadsSE » Fri Jun 17, 2011 10:49 pm

It's not a processor issue, its more like a memory thing. Remember, it's only 128 total, and Samba isn't exactly a picture of efficiency.

I can transfer 2GB mkv's and 5GB iso's without that load, but I am hooked up via eSATA... (well, 1 of the 2 cores hits that high)

Also, NTFS kicks performance HARD.
See here
1 is usb attached NTFS, the other is eSATA ext4
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6741
Joined: Mon Oct 18, 2010 2:12 pm

Re: Samba - High CPU

Postby Cybertimber2009 » Fri Jun 17, 2011 11:09 pm

Hmm... this evening I will reformat the flash drive to ext3 and give it a shot. THanks
Cybertimber2009
 
Posts: 40
Joined: Wed Jun 08, 2011 9:17 pm

Re: Samba - High CPU

Postby Cybertimber2009 » Sat Jun 18, 2011 12:32 am

Made it EXT3 and huzzah! The copy dialog works correctly and I can copy over large files.

Dude, you are the man of this device!
Cybertimber2009
 
Posts: 40
Joined: Wed Jun 08, 2011 9:17 pm

Re: Samba - High CPU

Postby Fieryphoenix » Sat Jun 18, 2011 2:48 pm

Cybertimber2009 wrote:Dude, you are the man of this device!

Tru dat.
Fieryphoenix
 
Posts: 27
Joined: Sun May 22, 2011 8:41 pm


Return to Community Supported

Who is online

Users browsing this forum: No registered users and 2 guests

cron