* [uml-devel] does O_DIRECT hinder greatly file reading performance but not writing??
@ 2004-07-02 8:42 Lamia M.Youseff
0 siblings, 0 replies; 3+ messages in thread
From: Lamia M.Youseff @ 2004-07-02 8:42 UTC (permalink / raw)
To: user-mode-linux-devel
[-- Attachment #1: Type: text/html, Size: 3688 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* [uml-devel] does O_DIRECT hinder greatly file reading performance but not writing??
@ 2004-07-02 8:45 Lamia M.Youseff
2004-07-02 17:25 ` [uml-devel] " lyouseff
0 siblings, 1 reply; 3+ messages in thread
From: Lamia M.Youseff @ 2004-07-02 8:45 UTC (permalink / raw)
To: lyouseff, user-mode-linux-devel
[-- Attachment #1: Type: text/html, Size: 3877 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* [uml-devel] Re: does O_DIRECT hinder greatly file reading performance but not writing??
2004-07-02 8:45 [uml-devel] does O_DIRECT hinder greatly file reading performance but not writing?? Lamia M.Youseff
@ 2004-07-02 17:25 ` lyouseff
0 siblings, 0 replies; 3+ messages in thread
From: lyouseff @ 2004-07-02 17:25 UTC (permalink / raw)
To: user-mode-linux-devel
Sorry for the repeated posts, but i figured out that my email body was not
posted. My appologies for the spam.
---------------------------------
Hi All,
I am kind of new to UML and I am experiencing a very strange performance
hinder with it. I am running two benchmarks; one that writes a 50Mbyte file
and the other one reads a 50Mbyte file. I tried the benchmarks with and
without setting the O_DIRECT flag, in which cases the whole task is done in a
matter of seconds(10-30 seconds) except when reading the file with O_DIRECT
flag on. In this case, it takes 18-20 min!!! I am running UML 2.4.19 on top of
kernel 2.4.25. I have time output like that (average of 20 runs)
Operation UserTime(sec) SysTime(sec) WallClockTime(sec)
Write Without O_DIRECT 5.612000 0.117500 27.164500
Write With O_DIRECT 10.007000 0.017000 22.199500
Read without O_DIRECT 3.035000 0.091000 7.760000
Read With O_DIRECT 21.492000 29.680000 1133.054000
I would appreciate it very much if somebody would explain to me how to solve
that strange performance problem, or even explain why does it happen for
reading with O_DIRECT but not without !!??
Thanks allot,
Lamia Youseff
--
-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
digital self defense, top technical experts, no vendor pitches,
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2004-07-02 17:25 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-07-02 8:45 [uml-devel] does O_DIRECT hinder greatly file reading performance but not writing?? Lamia M.Youseff
2004-07-02 17:25 ` [uml-devel] " lyouseff
-- strict thread matches above, loose matches on Subject: below --
2004-07-02 8:42 [uml-devel] " Lamia M.Youseff
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.