lkml.org 
[lkml]   [2001]   [Nov]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Disk Performance
Date
> Why does my 40 Megabyte per second IDE drive, transfer
> files at best at 1-2 Megabytes per second?

Keep in mind that some disk benchmarks just read/write long contiguous
regions of the disk, whereas the files you are copying may be fragmented.
So, while your drive may be able to sustain 40 MB/sec on a contiguous
region, it might slow down a lot if it has to seek to different parts of a
fragmented file, or between many files.

Actually while I'm on this subject - does anyone have experience with
"preallocating" files for low-latency transfers? e.g. if I know I'm going to
capture several GB of video to disk, will it reduce I/O latency if I
truncate the destination file to the proper size and fill it with zeros
beforehand? (I assume it helps for the fs to be as empty as possible) Are
any filesystems particularly good/bad for cases like this?

Regards,
Dan

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:13    [W:0.036 / U:1.520 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site