[lkml]   [2000]   [Oct]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Raw i/o usage wrecks block device performance??

On Wed, Oct 11, 2000 at 09:28:57PM +0100, Chris Evans wrote:
> The problem is best described with a little sequence. After using raw i/o
> facilities, streamed block device reads from the same underlying device
> exhibit much poorer performance than before the raw i/o.
> Anyone know what's going on? Looks like a bug or inefficiency somewhere in
> the kernel.

It looks as if "hdparm -t" is getting hurt by the fact that raw IO
sets the underlying device's blocksize to 512 bytes (Unix APIs
require that raw character devices allow arbitrary sector-aligned IO).
I'll trace it once I get back from ALS to see if there's anything
obviously funny going on.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

 \ /
  Last update: 2005-03-22 12:41    [W:0.040 / U:0.240 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site