lkml.org 
[lkml]   [2006]   [Jul]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Huge performance issue with cciss driver on HP DL385 servers (2.6.13 -> 2.6.17)
Erik Mouw a écrit :
> AFAIK buffers for direct IO need to be *page* aligned. Use something
> like:
> I guess you got away with it cause your 512 byte alignment happened to
> align on a page, but you shouldn't count on that. However...

This example was actually just a minimal example - the running test is
correctly aligned.

> You should check the return value of pwrite().

Also checked in the "real" stress program.

Note that this problem is hard to reproduce, and might be related to
very strange I/O (and/or DMA access) operation ordering. The fact that
the program must be run just after a reboot (or the problem is not
easily reproductible) is something really fishy.
-
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: 2006-07-11 16:41    [W:0.062 / U:0.008 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site