DragonFly commits List (threaded) for 2008-09
DragonFly BSD
DragonFly commits List (threaded) for 2008-09
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

cvs commit: src/sys/dev/disk/nata ata-queue.c


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 23 Sep 2008 10:43:41 -0700 (PDT)

dillon      2008/09/23 10:43:41 PDT

DragonFly src repository

  Modified files:
    sys/dev/disk/nata    ata-queue.c 
  Log:
  Make two more changes to the ata request queue sorting code.
  
  * Do not try to sort write requests.  There's no point, the hard drive
    has a write cache and a much better understanding of the media topology
    and will sort the requests for us.
  
  * Move the freeze point every 16 requests instead of every 128 to further
    reduce the amount of reordering we allow to prevent older requests from
    being delayed indefinitely by newer requests.
  
    Note: the original ata code didn't code any limits at all, causing insanely
    long latencies during heavy disk I/O for no good reason.
  
  Reported-by: Hasso Tepper <hasso@estpak.ee>
  
  Revision  Changes    Path
  1.11      +17 -6     src/sys/dev/disk/nata/ata-queue.c


http://www.dragonflybsd.org/cvsweb/src/sys/dev/disk/nata/ata-queue.c.diff?r1=1.10&r2=1.11&f=u



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]