Michael Mol wrote:
> On Wed, Sep 5, 2012 at 11:17 AM, Neil Bothwick <[email protected]> wrote:
>> On Wed, 05 Sep 2012 07:52:45 -0500, Dale wrote:
>>
>>>>> I might also add, I see no speed improvements in putting portages
>>>>> work directory on tmpfs.  I have tested this a few times and the
>>>>> difference in compile times is just not there.
>>>> Probably because with 16GB everything stays cached anyway.
>>> I cleared the cache between the compiles.  This is the command I use:
>>>
>>> echo 3 > /proc/sys/vm/drop_caches
>> But you are still using the RAM as disk cache during the emerge, the data
>> doesn't stay around long enough to need to get written to disk with so
>> much RAM for cache.
> Indeed. Try setting the mount to write-through to see the difference.
>
>

When I run that command, it clears all the cache.  It is the same as if
I rebooted.  Certainly you are not thinking that cache survives a reboot?

If you are talking about ram on the drive itself, well, when it is on
tmpfs, it is not on the drive to be cached.  That's the whole point of
tmpfs is to get the slow drive out of the way.  By the way, there are
others that ran tests with the same results.  It just doesn't speed up
anything since drives are so much faster nowadays. 

Dale

:-)  :-) 

-- 
I am only responsible for what I said ... Not for what you understood or how 
you interpreted my words!


Reply via email to