Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
prevent BitTorrent client from slowing down harddisk-access
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
fuqnbastard
n00b
n00b


Joined: 13 Apr 2004
Posts: 46

PostPosted: Wed Jun 29, 2005 12:13 pm    Post subject: prevent BitTorrent client from slowing down harddisk-access Reply with quote

Is there any way I can prevent harddisk intensive applications from slowing down all harddisk access (and thus my system) n-fold? This problem even affects the harddisks that aren't accessed by my bittorrent-client: I use a different disk for my shares and my programs. Yet when I run a simple python script to automate searching the web, it takes about 6 times as long with the client running.

Thanks!
Back to top
View user's profile Send private message
frostschutz
Advocate
Advocate


Joined: 22 Feb 2005
Posts: 2977
Location: Germany

PostPosted: Wed Jun 29, 2005 12:28 pm    Post subject: Reply with quote

You can try playing around with the 'elevator' kernel parameter in 2.6 - using another disk scheduler might help with your BT problem.

However, BT causes load for the disk by it's nature... files get up- and downloaded in random order, meaning random read/write access on the hard disk. The system's file cache is useless for BT; performance depends largely on the clients - some come with their own cache, and try to write bigger blocks in less random fashion. But either way you will have load on your disks, because files distributed by BT are usually CD or DVD images or the like, big files which can't be kept in RAM completely.

It should however not affect speed of your other drives, as long as they don't share an IDE cable and you have decent DMA support...
Back to top
View user's profile Send private message
fuqnbastard
n00b
n00b


Joined: 13 Apr 2004
Posts: 46

PostPosted: Wed Jun 29, 2005 1:17 pm    Post subject: Reply with quote

Those are both good ideas. I'm currently indeed running both harddisks on the same IDE cable, which is rather silly. And I'm gonna try with cfq as a disk scheduler and run my bittorrent client as a different user.
I just hope I won't run into too many problems readjusting my hardware/software configuration to the new device order...
Back to top
View user's profile Send private message
bexamous
n00b
n00b


Joined: 26 Feb 2004
Posts: 17

PostPosted: Fri Jul 01, 2005 9:09 pm    Post subject: Reply with quote

Azureus lets you choose a cache size, I don't know what other clients do. In the statistics tab it also reports how many read/writes the cache has saved.

I think 16MB is the default (at least what I'm using now) and writes it has saved 90.1%, reads has only saved 17.3%. If you have lots of ram you can make this cache any size you want... i think it gets useless to go over 64MB or so.
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