[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-optimize
Subject:    Re: Dynamic symbol table
From:       Oswald Buddenhagen <ossi () kde ! org>
Date:       2004-07-16 15:57:33
Message-ID: 20040716155733.GA25073 () ugly ! local
[Download RAW message or body]

On Fri, Jul 16, 2004 at 03:45:30PM +0200, Lubos Lunak wrote:
> And I did a test as well and it took somewhat shorter than demand
> paging the libs. Makes sense given that seeking is much slower than
> the actual reading. 
> 
please do another test: instead of calling madvise, immediately read one
byte from each mapped page. i.e., don't let the kernel load the pages if
it thinks disks are idle, but enforce synchronous loading. i know for
sure that forced read-ahead improves memcpy behaviour more than cache
prefetch instructions. i wouldn't be surprised if a similar effect could
be observed with disk io - after all, with your current implementation
the program is running concurrently to madvise's effect and thus causes
trashing (theoretically).

-- 
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
--
Chaos, panic, and disorder - my work here is done.
_______________________________________________
Kde-optimize mailing list
Kde-optimize@kde.org
https://mail.kde.org/mailman/listinfo/kde-optimize
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic