LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 11-29-2008, 02:28 PM   #1
stringZ
Member
 
Registered: Dec 2006
Posts: 42

Rep: Reputation: 15
File transfers are slow and take 100% of CPU


Hey there,

Recently I've noticed that there is a little problem with file transfers on one of my servers. It's Pentium I (MMX, 233MHz) thus it has never been rapidly fast, but used to be operate at ~6MB/s on LAN. Now it's hardly ~2MB/s. Few days ago I've upgraded to the latest available stable kernel, 2.6.27.7 from 2.4.36. Some things are faster (i.e. mplayer in XFree86), but this seems to be not one of them. I'm not sure if this issue has anything to to with the kernel upgrade.

I use proftpd for file transfers:

Code:
 PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
7360 stringz   20   0  4144 2020 1380 R 87.6  1.6   2:58.89 proftpd
Also tried vsftpd, same results in `top` and a dmesg warning:
Code:
warning: `vsftpd' uses 32-bit capabilities (legacy support in use)
What does this mean?
Has anyone had this?

Before you ask: DMA is ENABLED:
Code:
# hdparm /dev/hda

/dev/hda:
 multcount    = 16 (on)
 IO_support   =  1 (32-bit)
 unmaskirq    =  1 (on)
 using_dma    =  1 (on)
 keepsettings =  0 (off)
 readonly     =  0 (off)
 readahead    = 256 (on)
 geometry     = 26310/16/63, sectors = 26520480, start = 0
Thanks in advance
stringZ

Last edited by stringZ; 11-29-2008 at 02:30 PM.
 
Old 11-30-2008, 02:27 AM   #2
Junior Hacker
Senior Member
 
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687

Rep: Reputation: 59
There must be a back country road around you somewhere with a steep slope where you can just stop, reach over and open the passenger door and kick this computer as hard as you can.
 
Old 12-05-2008, 04:12 AM   #3
stringZ
Member
 
Registered: Dec 2006
Posts: 42

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Junior Hacker View Post
There must be a back country road around you somewhere with a steep slope where you can just stop, reach over and open the passenger door and kick this computer as hard as you can.
I'd leave this kind of constructive attitude for those who use Windows :P
 
Old 12-07-2008, 08:35 AM   #4
stringZ
Member
 
Registered: Dec 2006
Posts: 42

Original Poster
Rep: Reputation: 15
I've spent a little time figuring this out but still don't have any idea, gathered some more information, though.

Further informations:

I generated a test file (100 MB) using the following command..
Code:
dd dd if=/dev/urandom of=test bs=1M count=100
.. and tried to fetch it (on LAN) using the mentioned vsftpd.

`top` results (2.6.27.7)
Code:
  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
 2658 stringz   20   0  3200  848  668 R 90.2  0.7   0:05.86 vsftpd
(received at 6577 K/s)

and a warning message in `dmesg`...
Code:
warning: `vsftpd' uses 32-bit capabilities (legacy support in use)
`top` results (2.4.36)
Code:
  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
 1493 stringz   20   0  1540 1540 1412 R 85.7  1.2   0:28.18 vsftpd
(received at 4745 K/s) and no warning messages at all.

What is this?????
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Fast Internet; Slow File Transfers? bthornton Linux - Wireless Networking 7 08-31-2008 11:17 PM
vesafb on 2.6.15+ uses 100% cpu and is damn slow MuLaZ Linux - Hardware 2 03-29-2006 12:34 PM
Slow network file transfers purelithium Linux - Networking 4 02-14-2006 06:28 PM
slow file transfers between hard drives akshunj Linux - Hardware 3 06-01-2004 11:19 AM
redhat 8 running slow - CPU usage 100% jonnycarlos Linux - General 4 09-10-2003 05:33 AM


All times are GMT -5. The time now is 04:35 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration