Re: [PATCH] [RFC] Adjust queue unplugging and congestion limits

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

 



On Sun, 24 Jun 2007 19:27:23 +0200 Patrick Mau <[email protected]> wrote:

> Good afternoon
> 
> Following is a small patch to "ll_rw_block" I played around with.
> I started using "blktrace" to analyse the performance of my dated
> LVM / MD / SCSI setup. It's really a nice tool, by the way.
> 
> The changes are:
> 
> * Change the "q->unplug_thresh" to be halve of "q->nr_requets".
>   This dynamically delays unplugging. It was hardcoded to 4 and
>   makes a difference in performace because of higher merge counts.
> 
> * Change the unplug timeout to 10 milliseconds.
>   This is of course questionable, but I don't know why 3 was
>   choosen in the first place. I just played with it.
> 
> * Set the congestion on/off limits further apart.
> 
> * Cleanup the congestion checks (no "+1" anymore, more readable).
> 
> * Update "q->unplug_thresh" whenever "q->nr_requests" is updated
>   through sysfs.

I don't think anyone has played with these settings since they first went
in and yes, there may be some benefits available here.

> I did various artifical benchmarksi, mostly tar, dd and cp (also to NFS).
> Comments are welcome.

umm, what was the result of this benchmarking?  That is rather important
information ;)

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

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux