This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Prealloc idea

Tags: None
(comma "," separated)
ldc
Registered Member
Posts
20
Karma
0

Prealloc idea

Fri Aug 08, 2008 11:23 am
Just a little idea to help out with reducing fragmentation on the filesystem and reducing seek-overheads. If you have full prealloc enabled in the client and you start to download a few torrents (at almost the same time) these will be preallocated at the same time and this causes a big jump in seek-times on the drives and also (depending on how many torrents it is) almost a hang of ktorrent. It would be nice to see if you could limit preallocs to 1 at a time or a user-specified value.

Just a thought.
George
Moderator
Posts
5421
Karma
1

Sun Aug 10, 2008 7:40 am
Not a bad idea
lucke
Registered Member
Posts
205
Karma
0

Sun Aug 10, 2008 11:47 am
Related: for some time there's been this fallocate call available, which calls filesystem specific allocation for XFS and ext4 and regular posix_fallocate for others.


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Yahoo [Bot]