lots of "page allocation failure"

Bug #1038570 reported by Ivan Zakharyaschev
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
AC100_enablement
New
Undecided
Unassigned
linux-meta-ac100 (Ubuntu)
New
Undecided
Unassigned

Bug Description

I have lots of page allocation failures in my Ubuntu 12.04 on Toshiba AC100.

Perhaps, we should change the default for/proc/sys/vm/min_free_kbytes -- as suggested in https://bugs.launchpad.net/ubuntu/+source/linux-ac100/+bug/1035208/comments/16 by marvin24 .

What it is now set to:

~ $ sudo cat /proc/sys/vm/min_free_kbytes
2698

How many failures I get:

~ $ sudo cat /var/log/kern.log | fgrep failure | wc --lines
99

I'm afraid it is bad for the system's stability.

I'll try to put

vm.min_free_kbytes = 4096

into /etc/sysctl.d/99-min-free-mem , and see whether they disappear.

Of course, this might not be very good from the other side: this computer has little RAM:

~ $ free -m
             total used free shared buffers cached
Mem: 435 303 132 0 0 15
-/+ buffers/cache: 287 148
Swap: 976 304 672
~ $

, and this setting might cause it to swap in more cases, and cause more resource consumption (CPU and I/O)...

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: linux-ac100 3.0.27.1.1
Uname: Linux 3.0.27-1-ac100 armv7l
ApportVersion: 2.0.1-0ubuntu11
Architecture: armhf
Date: Sun Aug 19 15:24:49 2012
SourcePackage: linux-meta-ac100
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Ivan Zakharyaschev (imz) wrote :
Revision history for this message
Ivan Zakharyaschev (imz) wrote :

Attaching my current dmesg output with those failures.

Revision history for this message
Ivan Zakharyaschev (imz) wrote :

The filename I have suggested to put this setting to was wrong (/etc/sysctl.d/99-min-free-mem); it would be correct to name it /etc/sysctl.d/99-min-free-mem.conf (as described in /etc/sysctl.d/README: "End-users can use 60-*.conf and above").

Revision history for this message
Marc Dietrich (marvin24) wrote :

you may need a bit larger mem reserve, e.g. 8192 (which means 8 MB instead of the ~2MB default). Alternatively, you can compile a current kernel version for 3.0 or install a 3.1 kernel from quantal. Both have the bug fixed in the wifi driver. On the other hand, this bug is harmless.

Revision history for this message
Ivan Zakharyaschev (imz) wrote :

@marvin24
Re: the new kernel where this bug is fixed

If I set up the Quantal repositories for APT, will then just a simple "apt-get install linux-ac100" correctly install the new kernel, generate the new initramfs etc., and make it the one that is booted?

Or what is the way to correctly upgrade the kernel? -- https://answers.launchpad.net/ac100/+question/206787

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.