lkml.org 
[lkml]   [2002]   [May]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Poor read performance when sequential write presents

>> I did a IO test with one sequential read and one sequential write
>> to different files. I expected somewhat similar throughput on read
>> and write. But it seemed that the read is blocked until the write
>> finishes. After the write process finished, the read process slowly
>> picks up the speed. Is Linux buffer cache in favor of write? How
>> to tune it?
> [...]
> 2: Apply http://www.zip.com.au/~akpm/linux/patches/2.4/2.4.19-pre5/read-latency2.patch

Hmmm, someone wrote a patch to fix another related problem: the fact
that multiple readers read at a very different speed. It's not unusual
that one reader gets stuck until all other have finished. I don't
remember who wrote that patch, sorry.


Bye.

-
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:26    [W:0.111 / U:0.076 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site