Red Hat Bugzilla – Bug 873343
Cannot install with 1 GB of RAM
Last modified: 2012-12-10 11:08:11 EST
Using a liveUSB (with two different USB keys) of the F18 alpha (don't have the beta to test with yet), I'm pretty much unable to install. As far as I can tell, gnome-shell+anaconda make the system eventually enter a kernel death swap scenario, which is lashed out onto the USB key (from what I see with the activity LED).
I tested with:
- a Zotac zbox
- an HP mini 1000 netbook
Both of which have Intel graphics and 1 GB of RAM.
In the first case, I spent litterally one or two hours *trying* to do manual partitioning. Every operation with the UI was sluggish and hammered the USB key with I/O for minutes at a time (ie: it would take minutes between the time you click the + button and the time you get a dialog to set the mountpoint and size).
In the second case, I didn't want to have the same experience, so I just requested fully automatic partitioning without review. The installation started (as far as I could tell with "top", it was using rsync in the background) and it took maybe two hours to install, instead of 10-20 minutes as I would expect (looking at top, I saw that at some point the kswapd was using a LOT of CPU).
There are *many* netbooks or business desktop computers out there running with 1 GB of RAM. It worked fine with previous Fedora versions.
Fedora's official system requirements are: "At least 768 MiB of RAM, 1 GiB recommended for better performance".
Based on tests in a VM, 1 GB should be plenty of memory to install from a Live CD image: Bug 875418, Comment 6.
That test was with Fedora-18-Beta-TC8-x86_64-Live-Desktop.iso:
A BZ search for kswapd found this:
Bug 866988 - kswapd using 100%cpu for extended period on i686 kvm vhost - rawhide
I cannot reproduce the problems reported in Comment 0 on a bare metal system with 1 GB memory using Fedora-18-Beta-TC8-i686-Live-Desktop.iso installed on a USB stick.
Install Live CD image to 8 GB USB stick:
$ sudo livecd-iso-to-disk --format --reset-mbr Fedora-18-Beta-TC8-i686-Live-Desktop.iso /dev/sdc
Boot from USB stick.
Top shows 1011296 KiB Mem.
The installer starts, and the user interface is responsive. I did not attempt to actually install.
I downloaded and tested the Beta TC8 iso now. Good news! The system's overall memory usage and responsiveness improved drastically:
- before starting anaconda: 467 MiB of 985.3 MiB, 0 swap out of 1.9 GiB (measurements from gnome-system-monitor)
- launch anaconda: swap space gets disabled, mem usage climbs to 501 MiB
- select language, keyboard layout, timezone, climbs to ~515-520 Mib
- start the partitioning tool (after selecting the target disk)... memory usage jumps to 595 MiB when you get to the "would you like to autopartition or manually?" dialog, and stays at that level throughout partitioning.
- installing: not tested.
# Beta TC8
- before starting anaconda: 215 MiB (way better!)
- launch anaconda: swap space gets disabled, memory usage climbs to 265 MiB
- language, keyboard layout, timezone: mem usage climbs to 283 Mib
- accessing the disk partitioning tool: 348 MiB
- installing: could not test because of (already reported) bugs
I could not actually test that it installs fine, but at least it's a step forward. Should this be kept open for retesting when the beta comes out?
Thanks for your detailed comparative report. That is a significant reduction in memory usage.
Quoting Jesse in Bug 875418, Comment 5:
"With F18 and the rewrite we aren't really sure what our memory requirements are, and what is a bug of too much in use vs this is what we need."
So retesting is going to be needed ...
*** Bug 882634 has been marked as a duplicate of this bug. ***
I believe everything here is being tracked by bug 875418 as well, and that bug is even being actively worked on and commented in. I'm going to dup this one to there, which also shows the current status. Thanks for the report.
*** This bug has been marked as a duplicate of bug 875418 ***