Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Fedora Development (http://www.linux-archive.org/fedora-development/)
-   -   Amount of RAM required for Anaconda (http://www.linux-archive.org/fedora-development/708264-amount-ram-required-anaconda.html)

Danishka Navin 09-29-2012 05:28 AM

Amount of RAM required for Anaconda
 
Hi,

Is there a change (decrease) of RAM capacity required to run the anaconda?
What if we let users to choose either GUI or TUI version of anaconda?
Thanks,
--
Danishka Navin
http://danishkanavin.blogspot.com


http://twitter.com/danishkanavin
http://www.flickr.com/photos/danishkanavin/







_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

John Reiser 09-29-2012 02:06 PM

Amount of RAM required for Anaconda
 
> Is there a change (decrease) of RAM capacity required to run the anaconda?

A few months ago I installed successfully from DVD using 383MB of RAM.
The supposed requirement then was 768MB (twice as much.)
I suppressed anaconda's check for minimum RAM by appending " nomemcheck"
to the kernel boot command line. The machine CPU was 700MHz,
and the install took over an hour instead of the 20 minutes
or so that it takes on a box with 3GHz and 4GB.

When I installed using low RAM, then the "new UI" was not in place,
and a full-blown SELinux configuration was not running during
the entire install. I believe that "new UI" should be OK, but SELinux
with a complete Fedora rule set uses much RAM. Also, SELinux
is loaded (and retained!) *twice*: once before the pivot, and
once after the pivot. Previously the rule set "before the pivot"
was small, but now the full set of rules is used in both places.
The syslog (/tmp/syslog during install; default /var/log/messages
after a boot) tells how much time is taken.
See https://bugzilla.redhat.com/show_bug.cgi?id=853818 ,
"netinst.iso loads SELinux policy twice, very slowly both times"


SELinux with full Fedora rules uses so much RAM that probably " selinux=0"
should be used when booting to run anaconda with low RAM.

You can try all this on a machine with more RAM by appending
" mem=383m selinux=0 nomemcheck" to the kernel boot command line.
The "mem=383m" and "selinux=0" are interpreted by the kernel;
the "nomemcheck" is handled by anaconda.

--

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

John Reiser 09-29-2012 02:23 PM

Amount of RAM required for Anaconda
 
> " mem=383m selinux=0 nomemcheck"

Also " cgroup_disaable=memory" to buy back 1% of RAM.
Control groups are useless during an install,
and when memory is low then every megabyte helps.

--

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

"Jˇhann B. Gu­mundsson" 10-01-2012 09:29 AM

Amount of RAM required for Anaconda
 
On 09/29/2012 02:06 PM, John Reiser wrote:

SELinux with full Fedora rules uses so much RAM that probably " selinux=0"
should be used when booting to run anaconda with low RAM.


Is selinux really needed for Anaconda?

JBG

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

David Cantrell 10-01-2012 01:42 PM

Amount of RAM required for Anaconda
 
On Mon, Oct 01, 2012 at 09:29:23AM +0000, "Jˇhann B. Gu­mundsson" wrote:
> On 09/29/2012 02:06 PM, John Reiser wrote:
> >SELinux with full Fedora rules uses so much RAM that probably " selinux=0"
> >should be used when booting to run anaconda with low RAM.
>
> Is selinux really needed for Anaconda?

It is needed so that everything is installed on the target system correctly,
namely SELinux contexts and other SELinux-specifics.

--
David Cantrell <dcantrell@redhat.com>
Manager, Installer Engineering Team
Red Hat, Inc. | Westford, MA | EST5EDT

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


All times are GMT. The time now is 09:30 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.