lkml.org 
[lkml]   [2008]   [Jun]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Higher than expected disk write(2) latency
Hi Roger,

>> Fair enough. That exaplains the behaviour. Would AIO help here? If we
>> are able to enqueue next write before the first one is finished, it
>> can start writing it immediately without waiting for a revolution.
>
> If you could get them queued at the disk level, things that would need
> to be watched were if the disk can queue things up (and all
> controllers/drivers support it), and how many things the disk can queue
> up, and how large each of those things can be, if they aren't queued at
> the disk, there is the chance that the machine cannot get the data to
> the disk faster enough for that next sector.

We'll try with AIO and we'll see what the impact would be.

> Depending on your application you could always get a small fast solid
> state device (no seek or RPM issues), and use it to keep a journal that
> could be replayed on an unexpected crash...and then just use various
> syncs to force things to disk at various points.

Yes, that's one thing we want to do. However, we cannot assume that
every user will have SSD, thus we should try to get the best latencies
possible even on standard HD.

Martin


\
 
 \ /
  Last update: 2008-07-01 00:23    [W:0.082 / U:0.160 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site