Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
disk i/o kills network [solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
juhah
n00b
n00b


Joined: 03 Oct 2004
Posts: 46

PostPosted: Sat Apr 02, 2005 4:14 pm    Post subject: disk i/o kills network [solved] Reply with quote

Heavy disk i/o forces network down to its knees. For example while extracting huge archive in file server and trying to copy something from that server via nfs is impossible.

* Any TCP/IP uploads from the machine are practically stalled.
* TCP/IP downlink (e.g. downloads and web browsing) is sticky.
* Network traffic forwarding slows notably.
* Seen on several architectures (x86 and amd64)
* Seen on several distributions (Gentoo and Fedora)
* Seen on IDE and SATA disks.
* Top reports that 80-99 % of cpu usage is i/o wait (quite natural)
* load is very high
* nice'ing has effect little to none

This is REALLY annoying. Could enabling of kernel preemption help?


Last edited by juhah on Sun Apr 03, 2005 1:11 pm; edited 1 time in total
Back to top
View user's profile Send private message
inode77
Veteran
Veteran


Joined: 20 Jan 2004
Posts: 1303
Location: Heart of Europe

PostPosted: Sat Apr 02, 2005 4:21 pm    Post subject: Reply with quote

Disable IRQ sharing for IDE controllers and recompile your kernel.
On a desktop preemption is considered usefull so I'd enable it.
Play with different schedulers.
Not sure if it helps but it's worth a try.
Back to top
View user's profile Send private message
juhah
n00b
n00b


Joined: 03 Oct 2004
Posts: 46

PostPosted: Sat Apr 02, 2005 8:45 pm    Post subject: Reply with quote

Thank you!

It was the scheduler. I don't know what is the default but elevator=cfq did the trick (kernel 2.6.11). The difference is remarkable!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum