Re: [Patch] bump default ubuntu RAM size

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

 



Hey,

On Mon, Oct 08, 2018 at 12:26:51PM +0200, Didier Roche wrote:
> Hey!
> 
> I have a patch to fix the RAM requirement on ubuntu (for 16.04, 18.04 and
> 18.10) that I pushed at https://gitlab.com/didrocks/osinfo-db/commit/67d8b0a34771b0e0aa8736cb707f8028e82c0bf3.
> As this is only one commit, I have enclosed a git format patch version to
> that email.
> 
> What triggered that discussion was
> https://bugs.launchpad.net/ubuntu/+source/osinfo-db/+bug/1796037, which
> makes the default RAM size not being able to install ubuntu. The ubuntu
> desktop team decided to bump the requirement to 2Gb (which was the GNOME
> Boxes fallback for those versions when the file definition wasn't included).

The minimum was changed by https://help.ubuntu.com/community/Installation/SystemRequirements?action=diff&rev2=108&rev1=107
about 1 year ago. My understanding is that the minimum is 2GiB while the
recommendation is 4GiB? (I'm unsure how to read the 4GiB mentioned in
that page ;)
Is 16.04 impacted by these changes in memory requirements though?

Christophe

> 
> Thanks a lot in advance.
> Cheers,
> Didier
> 

> >From 67d8b0a34771b0e0aa8736cb707f8028e82c0bf3 Mon Sep 17 00:00:00 2001
> From: Didier Roche <didrocks@xxxxxxxxxx>
> Date: Mon, 8 Oct 2018 12:08:05 +0200
> Subject: [PATCH] Bump minimal ram requirement for ubuntu to 2Gb
> 
> The ubuntu images needs 2Gb to end their installation process with
> pre-seeded snap. Otherwise, the machine OOM and deadlock during install.
> We weren't impacted previously as shipping an old osinfo-db version,
> which didn't have the distribution specific requirements, and thus,
> fallbacked to GNOME Boxes default which is 2Gb.
> ---
>  data/os/ubuntu.com/ubuntu-16.04.xml.in | 4 ++--
>  data/os/ubuntu.com/ubuntu-18.04.xml.in | 4 ++--
>  data/os/ubuntu.com/ubuntu-18.10.xml.in | 4 ++--
>  3 files changed, 6 insertions(+), 6 deletions(-)
> 
> diff --git a/data/os/ubuntu.com/ubuntu-16.04.xml.in b/data/os/ubuntu.com/ubuntu-16.04.xml.in
> index 0a0936f..1281ca1 100644
> --- a/data/os/ubuntu.com/ubuntu-16.04.xml.in
> +++ b/data/os/ubuntu.com/ubuntu-16.04.xml.in
> @@ -20,12 +20,12 @@
>        <minimum>
>          <cpu>1000000000</cpu>
>          <n-cpus>1</n-cpus>
> -        <ram>1073741824</ram>
> +        <ram>2147483648</ram>
>          <storage>5368709120</storage>
>        </minimum>
>        <recommended>
>          <cpu>1000000000</cpu>
> -        <ram>1073741824</ram>
> +        <ram>2147483648</ram>
>          <storage>16106127360</storage>
>        </recommended>
>      </resources>
> diff --git a/data/os/ubuntu.com/ubuntu-18.04.xml.in b/data/os/ubuntu.com/ubuntu-18.04.xml.in
> index 2903f11..33bd5cf 100644
> --- a/data/os/ubuntu.com/ubuntu-18.04.xml.in
> +++ b/data/os/ubuntu.com/ubuntu-18.04.xml.in
> @@ -21,12 +21,12 @@
>        <minimum>
>          <cpu>1000000000</cpu>
>          <n-cpus>1</n-cpus>
> -        <ram>1073741824</ram>
> +        <ram>2147483648</ram>
>          <storage>5368709120</storage>
>        </minimum>
>        <recommended>
>          <cpu>1000000000</cpu>
> -        <ram>1073741824</ram>
> +        <ram>2147483648</ram>
>          <storage>16106127360</storage>
>        </recommended>
>      </resources>
> diff --git a/data/os/ubuntu.com/ubuntu-18.10.xml.in b/data/os/ubuntu.com/ubuntu-18.10.xml.in
> index 1fd6e20..73e0b52 100644
> --- a/data/os/ubuntu.com/ubuntu-18.10.xml.in
> +++ b/data/os/ubuntu.com/ubuntu-18.10.xml.in
> @@ -22,12 +22,12 @@
>        <minimum>
>          <cpu>1000000000</cpu>
>          <n-cpus>1</n-cpus>
> -        <ram>1073741824</ram>
> +        <ram>2147483648</ram>
>          <storage>5368709120</storage>
>        </minimum>
>        <recommended>
>          <cpu>1000000000</cpu>
> -        <ram>1073741824</ram>
> +        <ram>2147483648</ram>
>          <storage>16106127360</storage>
>        </recommended>
>      </resources>
> -- 
> 2.17.1
> 

> _______________________________________________
> Libosinfo mailing list
> Libosinfo@xxxxxxxxxx
> https://www.redhat.com/mailman/listinfo/libosinfo

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Libosinfo mailing list
Libosinfo@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libosinfo

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux