lkml.org 
[lkml]   [2006]   [Jan]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: io performance...
Max Waterman wrote:

> Hi,
>
> I've been referred to this list from the linux-raid list.
>
> I've been playing with a RAID system, trying to obtain best bandwidth
> from it.
>
> I've noticed that I consistently get better (read) numbers from kernel
> 2.6.8
> than from later kernels.


To open the bottlenecks, the following works well. Jens will shoot me
for recommending this,
but it works well. 2.6.9 so far has the highest numbers with this fix.
You can manually putz
around with these numbers, but they are an artificial constraint if you
are using RAID technology
that caches ad elevators requests and consolidates them.


Jeff



diff -Naur ./include/linux/blkdev.h ../linux-2.6.9/./include/linux/blkdev.h
--- ./include/linux/blkdev.h 2004-10-18 15:53:43.000000000 -0600
+++ ../linux-2.6.9/./include/linux/blkdev.h 2005-12-06 09:54:46.000000000 -0700
@@ -23,8 +23,10 @@
typedef struct elevator_s elevator_t;
struct request_pm_state;

-#define BLKDEV_MIN_RQ 4
-#define BLKDEV_MAX_RQ 128 /* Default maximum */
+//#define BLKDEV_MIN_RQ 4
+//#define BLKDEV_MAX_RQ 128 /* Default maximum */
+#define BLKDEV_MIN_RQ 4096
+#define BLKDEV_MAX_RQ 8192 /* Default maximum */

\
 
 \ /
  Last update: 2006-01-16 09:11    [W:0.158 / U:0.244 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site