Re: O_DIRECT performance impact on 2.4.18 (was: Re: [PATCH] 2.5.14 IDE 56)

From: Lincoln Dale (ltd@cisco.com)
Date: Sat May 11 2002 - 18:17:25 EST


At 04:18 PM 11/05/2002 +0200, Roy Sigurd Karlsbakk wrote:
>Will the use of O_DIRECT affect disk elevatoring?

i believe the elevator is based on the 'block' layer and anything that goes
thru it. so the answer is that the requests would use the elevator.

for the test in question, i was doing sequential reads from the first block
of each disk until some block later on in the disk. (ie. a 2gbyte read or
18gbyte read).
given that was the case and the only i/o ops were 'read' operations,
elevator would make no difference here.

cheers,

lincoln.

-
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/



This archive was generated by hypermail 2b29 : Tue May 14 2002 - 12:00:17 EST