Re: installer swap computation

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

 



On Dec 3, 2013, at 1:32 AM, Chris Murphy <lists@xxxxxxxxxxxxxxxxx> wrote:

> https://git.fedorahosted.org/cgit/blivet.git/tree/blivet/devicelibs/swap.py
> 
>    elif 8192 <= mem < 65536:
>        swap = mem / 2
>    else:
>        swap = 4096
>   if hibernation:
>        if mem <= 65536:
>            swap = mem + swap
> 
> I interpret this to mean suggest swap would always be greater than RAM for a laptop (that of course has less than 64GB RAM). Yet on a laptop with 8GB RAM, swap is a sweak under 8GB. And on a laptop with 4GB RAM, swap is also just a squeak less than 4GB. Expected?

https://bugzilla.redhat.com/show_bug.cgi?id=1037472

> 
> Another issue is that in both a VM, and on baremetal, I'm getting this message in storage.log:
> 
> Baremetal has 4GB RAM:
> 14:06:22,177 INFO blivet: Suggested swap size (3984 M) exceeds 10 % of disk space, using 10 % of disk space (0 M) instead.
> 
> VM has 1536MB RAM:
> 07:12:40,691 INFO blivet: Suggested swap size (3104 M) exceeds 10 % of disk space, using 10 % of disk space (0 M) instead.
> 
> Yet suggested swap size is what's used for the swap partition, not 0MB. Either it's a bug, or I'm confused.

https://bugzilla.redhat.com/show_bug.cgi?id=1037458


Chris Murphy
-- 
test mailing list
test@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe:
https://admin.fedoraproject.org/mailman/listinfo/test





[Index of Archives]     [Fedora Desktop]     [Fedora SELinux]     [Photo Sharing]     [Yosemite Forum]     [KDE Users]

  Powered by Linux