[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Is it me or virtualbox memory management crap?



2012/6/13 Thomas Goirand wrote:

>> Do you use 2.6 kernel and have FF profile and VB images on the same ext4
>> partition?
>
> My laptop setup is:
> - kernel 2.6.32-5 (Squeeze...)
> - RAID1 (replacing my thinkpad DVD ultrabay by a 2nd HDD)
> - LVM
> - dm-crypt
> - ext3
>
> Yes, both the VB images and FF profile are on the same partition,
> as I want both to be encrypted. Writing to my disk is normally quite
> fast, but I've noticed indeed that when it's VB that does it, it's slow.
> If I don't find a way, I guess I'll switch back to Xen with NAT...

>> Can you reproduce that with 3.2 kernel?
>
> Why would this change?

I remember seing a thread in LKML with very similar scenarios. Not sure
what kernel version was there, but it was definitely 2.6.*. So I suggested
to check a newer kernel in case it was already fixed. No need to *switch*
to 3.2, just check (e.g. from backports) whether it makes any difference.
You can remove it after the test. :)

>> PS: you can check the output of `latencytop` as well
> zigo@buzig ~$ sudo latencytop
> Please enable the CONFIG_LATENCYTOP configuration in your kernel.
> Exiting...
>
> Is there a kernel module to load? Or is this only available in 3.2?

No, it's an old kernel config parameter. You need to build the kernel with
CONFIG_LATENCYTOP=y in your .config. That suggestion was just in case
you *want* to dig deeper into the problem.

There's another firefox-specific hack you can try, but I would suggest
to check a new kernel first.

-- 
  Serge


Reply to: