[Bug 501715] Re: Kernel trace buffer should be cleared and size restored after profiling

2011-02-18 Thread Chris Van Hoof
** Tags added: hwe-blocker

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/501715

Title:
  Kernel trace buffer should be cleared and size restored after
  profiling

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 501715] Re: Kernel trace buffer should be cleared and size restored after profiling

2010-08-18 Thread Martin Pitt
** Changed in: ureadahead (Ubuntu Lucid)
 Assignee: arturm (arturm) = Tim Gardner (timg-tpi)

-- 
Kernel trace buffer should be cleared and size restored after profiling
https://bugs.launchpad.net/bugs/501715
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 501715] Re: Kernel trace buffer should be cleared and size restored after profiling

2010-08-17 Thread arturm
** Changed in: ureadahead (Ubuntu Lucid)
 Assignee: Tim Gardner (timg-tpi) = arturm (arturm)

-- 
Kernel trace buffer should be cleared and size restored after profiling
https://bugs.launchpad.net/bugs/501715
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 501715] Re: Kernel trace buffer should be cleared and size restored after profiling

2010-07-23 Thread Martin Pitt
** Tags added: verification-done
** Tags removed: verification-needed

-- 
Kernel trace buffer should be cleared and size restored after profiling
https://bugs.launchpad.net/bugs/501715
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 501715] Re: Kernel trace buffer should be cleared and size restored after profiling

2010-07-23 Thread Launchpad Bug Tracker
This bug was fixed in the package ureadahead - 0.100.0-4.1.2

---
ureadahead (0.100.0-4.1.2) lucid-proposed; urgency=low

  * Restore buffer_size_kb upon exit, but do it _after_
the trace buffer has been read. This frees the memory
consumed by the trace operation (which can be a lot).
-LP: #501715
 -- Tim Gardner tim.gard...@canonical.com   Wed, 14 Jul 2010 11:00:54 -0600

** Changed in: ureadahead (Ubuntu Lucid)
   Status: Fix Committed = Fix Released

-- 
Kernel trace buffer should be cleared and size restored after profiling
https://bugs.launchpad.net/bugs/501715
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 501715] Re: Kernel trace buffer should be cleared and size restored after profiling

2010-07-22 Thread Deji Olatunji
Tested the ureadahead deb on r2d2/c3po-amd Dell systems. The systems had
X07 bios on the system. This issue was fixed with this deb package with
the X07 bios.
http://us.archive.ubuntu.com/ubuntu/pool/main/u/ureadahead/ureadahead_0.100.0-4.1.2_i386.deb
package works

-- 
Kernel trace buffer should be cleared and size restored after profiling
https://bugs.launchpad.net/bugs/501715
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 501715] Re: Kernel trace buffer should be cleared and size restored after profiling

2010-07-22 Thread Launchpad Bug Tracker
This bug was fixed in the package ureadahead - 0.100.0-6

---
ureadahead (0.100.0-6) maverick; urgency=low

  * Restore buffer_size_kb upon exit, but do it _after_
the trace buffer has been read. This frees the memory
consumed by the trace operation (which can be a lot).
-LP: #501715
 -- Tim Gardner tim.gard...@canonical.com   Thu, 22 Jul 2010 04:04:36 -0600

** Changed in: ureadahead (Ubuntu Maverick)
   Status: Triaged = Fix Released

-- 
Kernel trace buffer should be cleared and size restored after profiling
https://bugs.launchpad.net/bugs/501715
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 501715] Re: Kernel trace buffer should be cleared and size restored after profiling

2010-07-16 Thread Zachary Scott
I think I'm receiving a similar bug where I supposedly have 0 swap space
left, then get a plymouthd OoM error, then ureadaheadd OoM error.

Linux ubuntu 2.6.35-8-generic-pae #13-Ubuntu SMP Wed Jul 14 04:40:11 UTC
2010 i686 GNU/Linux

ureadahead:
  Installed: 0.100.0-5

plymouth:
  Installed: 0.8.2-2ubuntu3


** Attachment added: dmesg.txt
   http://launchpadlibrarian.net/52035981/dmesg.txt

-- 
Kernel trace buffer should be cleared and size restored after profiling
https://bugs.launchpad.net/bugs/501715
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 501715] Re: Kernel trace buffer should be cleared and size restored after profiling

2010-07-15 Thread Martin Pitt
Accepted ureadahead into lucid-proposed, the package will build now and
be available in a few hours. Please test and give feedback here. See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to
enable and use -proposed. Thank you in advance!

** Changed in: ureadahead (Ubuntu Lucid)
   Status: Triaged = Fix Committed

** Tags removed: verification-failed

** Tags added: verification-needed

-- 
Kernel trace buffer should be cleared and size restored after profiling
https://bugs.launchpad.net/bugs/501715
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 501715] Re: Kernel trace buffer should be cleared and size restored after profiling

2010-07-15 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/lucid-proposed/ureadahead

-- 
Kernel trace buffer should be cleared and size restored after profiling
https://bugs.launchpad.net/bugs/501715
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 501715] Re: Kernel trace buffer should be cleared and size restored after profiling

2010-07-15 Thread lavinog
Ureadahead is not creating pack files now.

$ cat /sys/kernel/debug/tracing/buffer_size_kb 
128000

$ cat /sys/kernel/debug/tracing/buffer_size_kb 
1408

$ ls /var/lib/ureadahead/
debugfs

I was using a custom version before, the proposed patch should have overwritten 
it though.
Can someone else confirm that the patch is not creating pack files?

-- 
Kernel trace buffer should be cleared and size restored after profiling
https://bugs.launchpad.net/bugs/501715
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 501715] Re: Kernel trace buffer should be cleared and size restored after profiling

2010-07-15 Thread lavinog
Package: ureadahead
State: installed
Automatically installed: no
Version: 0.100.0-4.1.1

-- 
Kernel trace buffer should be cleared and size restored after profiling
https://bugs.launchpad.net/bugs/501715
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 501715] Re: Kernel trace buffer should be cleared and size restored after profiling

2010-07-15 Thread Tormod Volden
lavinog, you must upgrade to 0.100.0-4.1.2. It creates the pack here.

-- 
Kernel trace buffer should be cleared and size restored after profiling
https://bugs.launchpad.net/bugs/501715
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 501715] Re: Kernel trace buffer should be cleared and size restored after profiling

2010-07-14 Thread Tormod Volden
For us using -proposed, it would be nice if the SRU changelogs would be
a bit more descriptive so we have an idea of what changes can be
expected. Something like Fixes kernel memory leak when reprofiling in
this case. BTW this changelog missed the # in the bug number so it did
not get linkified in Update Manager. Thanks.

-- 
Kernel trace buffer should be cleared and size restored after profiling
https://bugs.launchpad.net/bugs/501715
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 501715] Re: Kernel trace buffer should be cleared and size restored after profiling

2010-07-14 Thread Martin Pitt
Scott says this is wrong, I'll let him elaborate.

** Tags added: verification-failed
** Tags removed: verification-needed

-- 
Kernel trace buffer should be cleared and size restored after profiling
https://bugs.launchpad.net/bugs/501715
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 501715] Re: Kernel trace buffer should be cleared and size restored after profiling

2010-07-14 Thread Scott James Remnant
I've asked pitti to reject this upload.

The patch is wrong; it restores the buffer size before using any of the
contents of the buffer, which will either truncate it or clear it
entirely.  The effect would be the same as simply never increasing the
size in the first place - or worse, making all profiles come out with no
files.

-- 
Kernel trace buffer should be cleared and size restored after profiling
https://bugs.launchpad.net/bugs/501715
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 501715] Re: Kernel trace buffer should be cleared and size restored after profiling

2010-07-14 Thread Martin Pitt
As per Scott's request I removed this SRU, since it severely regresses
ureadahead to the point where it entirely stops working.

2010-07-14 14:23:16 INFORemoving candidates:
2010-07-14 14:23:16 INFOureadahead 0.100.0-4.1.1 in lucid amd64
2010-07-14 14:23:16 INFOureadahead 0.100.0-4.1.1 in lucid armel
2010-07-14 14:23:16 INFOureadahead 0.100.0-4.1.1 in lucid i386
2010-07-14 14:23:16 INFOureadahead 0.100.0-4.1.1 in lucid ia64
2010-07-14 14:23:16 INFOureadahead 0.100.0-4.1.1 in lucid powerpc
2010-07-14 14:23:16 INFOureadahead 0.100.0-4.1.1 in lucid sparc
2010-07-14 14:23:16 INFORemoved-by: Martin Pitt
2010-07-14 14:23:16 INFOComment: SRU regression
2010-07-14 14:23:16 INFO6 packages successfully removed.


** Changed in: ureadahead (Ubuntu Lucid)
   Status: Fix Committed = Triaged

-- 
Kernel trace buffer should be cleared and size restored after profiling
https://bugs.launchpad.net/bugs/501715
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 501715] Re: Kernel trace buffer should be cleared and size restored after profiling

2010-07-14 Thread Tim Gardner
Noted, how about this patch:

** Attachment added: Free trace memory after reading trace log
   http://launchpadlibrarian.net/51934423/trace.txt

-- 
Kernel trace buffer should be cleared and size restored after profiling
https://bugs.launchpad.net/bugs/501715
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 501715] Re: Kernel trace buffer should be cleared and size restored after profiling

2010-07-14 Thread Tim Gardner
SRU Justification:

Impact: Low memory platforms suffer OOM crashes because of memory
exhaustion

Patch Description: Read the initial value of buffer_size_kb and restore
on exit.

Patch: http://launchpadlibrarian.net/51934423/trace.txt

This patch has been reported by Bryan Wu to have fixed an issue on an ARM OEM 
platform.
This bug cause some real issues on low memory ARM platforms.

Scott Remnant has also concurred that the patch is correct this time.

-- 
Kernel trace buffer should be cleared and size restored after profiling
https://bugs.launchpad.net/bugs/501715
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 501715] Re: Kernel trace buffer should be cleared and size restored after profiling

2010-07-13 Thread Jonathan Riddell
Accepted into lucid-proposed, the package will build now and be
available in a few hours. Please test and give feedback here. See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to
enable and use -proposed. Thank you in advance!

** Changed in: ureadahead (Ubuntu Lucid)
   Status: In Progress = Fix Committed

** Tags added: verification-needed

-- 
Kernel trace buffer should be cleared and size restored after profiling
https://bugs.launchpad.net/bugs/501715
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 501715] Re: Kernel trace buffer should be cleared and size restored after profiling

2010-07-12 Thread Tim Gardner

** Attachment added: Lucid ureadahead patch
   http://launchpadlibrarian.net/51784150/lucid-ureadahead.txt

-- 
Kernel trace buffer should be cleared and size restored after profiling
https://bugs.launchpad.net/bugs/501715
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 501715] Re: Kernel trace buffer should be cleared and size restored after profiling

2010-07-12 Thread Tim Gardner
SRU Justification

Impact: Low memory platforms suffer OOM crashes because of memory
exhaustion

Patch Description: Read the initial value of buffer_size_kb and restore
on exit.

Patch: attached

This patch has been reported by Bryan Wu to have fixed an issue on an ARM OEM 
platform.
This bug cause some real issues on low memory ARM platforms.

** Also affects: ureadahead (Ubuntu Lucid)
   Importance: Undecided
   Status: New

** Also affects: ureadahead (Ubuntu Maverick)
   Importance: High
   Status: Triaged

** Changed in: ureadahead (Ubuntu Lucid)
   Importance: Undecided = High

** Changed in: ureadahead (Ubuntu Lucid)
   Status: New = In Progress

** Changed in: ureadahead (Ubuntu Lucid)
Milestone: None = ubuntu-10.04.1

** Changed in: ureadahead (Ubuntu Lucid)
 Assignee: (unassigned) = Tim Gardner (timg-tpi)

-- 
Kernel trace buffer should be cleared and size restored after profiling
https://bugs.launchpad.net/bugs/501715
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 501715] Re: Kernel trace buffer should be cleared and size restored after profiling

2010-07-12 Thread John Dong
Patch looks good. ACK from SRU team.

-- 
Kernel trace buffer should be cleared and size restored after profiling
https://bugs.launchpad.net/bugs/501715
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 501715] Re: Kernel trace buffer should be cleared and size restored after profiling

2010-05-15 Thread philinux
I'm getting this. From mount.
none on /var/lib/ureadahead/debugfs type debugfs (rw,relatime)

However is it related to high memory usage on boot up.

With just firefox and a terminal I'm getting this.
free -m
 total   used   free sharedbuffers cached
Mem:  2009   1034974  0 37295
-/+ buffers/cache:701   1307
Swap: 1906  0   1906

This is Lucid 64bit clean install.

-- 
Kernel trace buffer should be cleared and size restored after profiling
https://bugs.launchpad.net/bugs/501715
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 501715] Re: Kernel trace buffer should be cleared and size restored after profiling

2010-05-15 Thread philinux
Update rebooted and found the /var/lib//ureadahead/debugfs not mounted.
Memory steady at 500 meg after 1 hour. Using firefox, evolution and
terminal.

status ureadahead 
ureadahead stop/waiting

mount
/dev/sda1 on / type ext4 (rw,errors=remount-ro)
proc on /proc type proc (rw,noexec,nosuid,nodev)
none on /sys type sysfs (rw,noexec,nosuid,nodev)
none on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
none on /dev type devtmpfs (rw,mode=0755)
none on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
none on /dev/shm type tmpfs (rw,nosuid,nodev)
none on /var/run type tmpfs (rw,nosuid,mode=0755)
none on /var/lock type tmpfs (rw,noexec,nosuid,nodev)
none on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
/dev/sda3 on /home type ext4 (rw)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc 
(rw,noexec,nosuid,nodev)
gvfs-fuse-daemon on /home/philcb/.gvfs type fuse.gvfs-fuse-daemon 
(rw,nosuid,nodev,user=philcb)

-- 
Kernel trace buffer should be cleared and size restored after profiling
https://bugs.launchpad.net/bugs/501715
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 501715] Re: Kernel trace buffer should be cleared and size restored after profiling

2010-05-11 Thread James79

Hi lavinog

Thanks for the proposed fix. It does appear to work, but I'm worried
about unintended consequences. I can't install OSs with such bugs and
hacked workarounds in them.

It's a shame because Lucid seems like an otherwise fine release but for
the time being I'm going to have to stick to Karmic.

Hopefully it will be fixed shortly.

-- 
Kernel trace buffer should be cleared and size restored after profiling
https://bugs.launchpad.net/bugs/501715
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 501715] Re: Kernel trace buffer should be cleared and size restored after profiling

2010-05-11 Thread lavinog
This bug exists in karmic also.

-- 
Kernel trace buffer should be cleared and size restored after profiling
https://bugs.launchpad.net/bugs/501715
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 501715] Re: Kernel trace buffer should be cleared and size restored after profiling

2010-05-11 Thread James79

Probably - however, it's not installed by default on Karmic. At least not when 
doing a minimal install like I do.

-- 
Kernel trace buffer should be cleared and size restored after profiling
https://bugs.launchpad.net/bugs/501715
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 501715] Re: Kernel trace buffer should be cleared and size restored after profiling

2010-05-10 Thread Petar Velkovski
lavinog, I'm commenting this bug. The other HUGE memory leak problem I
was having, and thought that was connected to this bug, was confirmed
and fixed (it was bug #565981).

-- 
Kernel trace buffer should be cleared and size restored after profiling
https://bugs.launchpad.net/bugs/501715
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 501715] Re: Kernel trace buffer should be cleared and size restored after profiling

2010-05-10 Thread lavinog
I posted a upstart script that can recover the memory used after a profile:
http://ubuntuforums.org/showpost.php?p=9271524postcount=9

-- 
Kernel trace buffer should be cleared and size restored after profiling
https://bugs.launchpad.net/bugs/501715
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 501715] Re: Kernel trace buffer should be cleared and size restored after profiling

2010-05-09 Thread ChrisSavery
Thanks lavinog for that info.

This immediately cleared up about 250MB of lost memory for me. Usually
my server uses about 60MB but now and then after a reboot it will use
315MB and I can't find where it's gone. Dropping caches didn't help.

This bug doesn't appear to be taken seriously. Perhaps it needs to be filed in 
a better place where the right devs will see it?
 
I can confirm that this bug is present on my newly created Lucid 10.4 server 
install and that the above echo command will fix it.

-- 
Kernel trace buffer should be cleared and size restored after profiling
https://bugs.launchpad.net/bugs/501715
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 501715] Re: Kernel trace buffer should be cleared and size restored after profiling

2010-05-09 Thread lavinog
I am sure it is taken seriously.  The dev is likely tending to more important 
issues at the moment.
The issue isn't a security issue, and it doesn't seem to cause any data loss.

-- 
Kernel trace buffer should be cleared and size restored after profiling
https://bugs.launchpad.net/bugs/501715
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 501715] Re: Kernel trace buffer should be cleared and size restored after profiling

2010-05-09 Thread Petar Velkovski
lavinog you sound like one of the creators of Windows Vista. :) I'm
sorry, but as a long time Linux user, I'm somehow spoiled by the
idea/reassurance that my OS is not eating parts of my RAM if there are
no objective reasons for it do so. I agree that security issues and data
loss problems are extremely important, but fixing a loss of 250MB of RAM
is equally important for me.

-- 
Kernel trace buffer should be cleared and size restored after profiling
https://bugs.launchpad.net/bugs/501715
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 501715] Re: Kernel trace buffer should be cleared and size restored after profiling

2010-05-09 Thread lavinog
@Petar:  I replied to your comment at this thread: 
http://ubuntuforums.org/showthread.php?t=1363165
I do not think this bug is related to your issue.  I would like to help you 
figure out what is going on, but not here.

To everyone else:  The cause of the bug is known.  Maybe Scott can give
us some insight on when or how it will be addressed, but the forums
might be a better place for discussions.

-- 
Kernel trace buffer should be cleared and size restored after profiling
https://bugs.launchpad.net/bugs/501715
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 501715] Re: Kernel trace buffer should be cleared and size restored after profiling

2010-05-08 Thread James79

Any updates on this issue??

I know an extra 100-200mb used is nothing to those with systems with
several gbs in them... But many of us use Ubuntu on lowend/modest
systems.

~120mb burnt for nothing is 50% of my meager 256mb available on my
laptop. For us, this bug is a show stopper.

Seems strange that this was allowed to make it into Lucid. Ureadahead is
great - hopefully this can be fixed with an update.

Keybuk mentionned in the forums on March 20th that a fix for this bug
was pending next week. Any updates on that?

-- 
Kernel trace buffer should be cleared and size restored after profiling
https://bugs.launchpad.net/bugs/501715
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 501715] Re: Kernel trace buffer should be cleared and size restored after profiling

2010-05-08 Thread lavinog
@james79:  if the issue is that you are low on memory, you can release the 
trace buffer with:
echo 1|sudo tee /sys/kernel/debug/tracing/buffer_size_kb

I wrote a init script that does this automatically after a trace.  I can
clean it up and post it if it will help.

If the issue is that you run out of memory during boot, your only option
is to disable ureadahead.  Ureadahead is only useful if you have the
memory for caching the files.

I suspect fixing this bug would be counter productive if the goal is to
change the way tracing is accomplished.

-- 
Kernel trace buffer should be cleared and size restored after profiling
https://bugs.launchpad.net/bugs/501715
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 501715] Re: Kernel trace buffer should be cleared and size restored after profiling

2010-04-18 Thread G. Christ
I have the same problem about very high ram and swap usage, and the system 
becoming very slow. But removing ureadahead and using the Karmic 2.6.31-20 
kernel didn't help, so ureadahead is not the problem in my system. 
For this other problem maybe bug 560859 is better.

-- 
Kernel trace buffer should be cleared and size restored after profiling
https://bugs.launchpad.net/bugs/501715
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 501715] Re: Kernel trace buffer should be cleared and size restored after profiling

2010-04-18 Thread Daniel Lee
If it shows that you still have free memory (ram) then this probably
isn't the right bug for you.

-- 
Kernel trace buffer should be cleared and size restored after profiling
https://bugs.launchpad.net/bugs/501715
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 501715] Re: Kernel trace buffer should be cleared and size restored after profiling

2010-04-18 Thread Daniel Lee
I also want to point out that this bug only happens on a reprofile so if
you're having high memory consumption all the time then that's another
indicator that something else is wrong.

-- 
Kernel trace buffer should be cleared and size restored after profiling
https://bugs.launchpad.net/bugs/501715
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 501715] Re: Kernel trace buffer should be cleared and size restored after profiling

2010-04-18 Thread G. Christ
Yes :) that is why I said that bug 560859 is better to discuses that.
Richard Luther, Petar Velkovski and others may be interested in that bug
also.

-- 
Kernel trace buffer should be cleared and size restored after profiling
https://bugs.launchpad.net/bugs/501715
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 501715] Re: Kernel trace buffer should be cleared and size restored after profiling

2010-04-16 Thread Richard Luther
I am experiencing the same problem as Petar, after several hours the
swap file starts to get heavily used despite free showing less than half
my memory being used by applications and having vm.swappiness=0. I have
2G of RAM and 2.5G of swap, and the system behaves normally up until the
swap partition starts to get used at which point the system becomes
almost unusable. Attempting sudo swapoff -a fails for me as well.

-- 
Kernel trace buffer should be cleared and size restored after profiling
https://bugs.launchpad.net/bugs/501715
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 501715] Re: Kernel trace buffer should be cleared and size restored after profiling

2010-04-15 Thread xir
i had this issue on one one laptop

00:00.0 Host bridge: Intel Corporation Mobile 945GM/PM/GMS, 943/940GML and 
945GT Express Memory Controller Hub (rev 03)
00:01.0 PCI bridge: Intel Corporation Mobile 945GM/PM/GMS, 943/940GML and 945GT 
Express PCI Express Root Port (rev 03)
00:1b.0 Audio device: Intel Corporation N10/ICH 7 Family High Definition Audio 
Controller (rev 02)
00:1c.0 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 1 (rev 
02)
00:1c.1 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 2 (rev 
02)
00:1c.2 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 3 (rev 
02)
00:1d.0 USB Controller: Intel Corporation N10/ICH7 Family USB UHCI Controller 
#1 (rev 02)
00:1d.1 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller 
#2 (rev 02)
00:1d.2 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller 
#3 (rev 02)
00:1d.3 USB Controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller 
#4 (rev 02)
00:1d.7 USB Controller: Intel Corporation N10/ICH 7 Family USB2 EHCI Controller 
(rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)
00:1f.0 ISA bridge: Intel Corporation 82801GHM (ICH7-M DH) LPC Interface Bridge 
(rev 02)
00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller 
(rev 02)
00:1f.2 RAID bus controller: Intel Corporation 82801GHM (ICH7-M DH) SATA RAID 
Controller (rev 02)
00:1f.3 SMBus: Intel Corporation N10/ICH 7 Family SMBus Controller (rev 02)
01:00.0 VGA compatible controller: nVidia Corporation G71 [GeForce Go 7900 GTX] 
(rev a1)
02:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG [Golan] 
Network Connection (rev 02)
06:07.0 CardBus bridge: Texas Instruments PCIxx12 Cardbus Controller
06:07.1 FireWire (IEEE 1394): Texas Instruments PCIxx12 OHCI Compliant IEEE 
1394 Host Controller
06:07.2 Mass storage controller: Texas Instruments 5-in-1 Multimedia Card 
Reader (SD/MMC/MS/MS PRO/xD)
06:07.3 SD Host controller: Texas Instruments PCIxx12 SDA Standard Compliant SD 
Host Controller
06:0b.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8169 Gigabit 
Ethernet (rev 10)

I fixed it by removing ureadahead and my ram usage dropped from 800 megs
at start to 400 megs.


This didn't occur on my other lucid systems.

-- 
Kernel trace buffer should be cleared and size restored after profiling
https://bugs.launchpad.net/bugs/501715
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 501715] Re: Kernel trace buffer should be cleared and size restored after profiling

2010-04-14 Thread Petar Velkovski
Thanks god someone else noticed this high memory usage. I kept asking
people on #ubuntu+1 and all I got was: This is normal for Linux. This
high caching memory usage would be normal, if my system didn't start
using the swap file once the RAM memory gets used by the caching memory.
I never noticed this problem in Karmic, probably because I did a clean
install and used the vanilla kernels from http://kernel.ubuntu.com
/~kernel-ppa/mainline/ in the last 4 or 5 months. Previously (in Karmic)
Reclaim memory function in Ailurus would reclaim almost all of the
caching memory, but now it fails to do that. Something is eating the
memory.

This is how my computer behaves:
I have 2GiB of Ram installed
System monitor reports that 38% of the Memory is used by programs, 62% of 
Memory is in use as cash, and I have for instance 160MiB used from the swap 
space (and once the swap is being used, the system erformance is hit seriously).
If I try: sudo swapoff -a , the swapoff process dies and the swap partition is 
not disabled. Why? Because there is not enough RAM memory available to transfer 
the data contained into the swap partition. But how can this be when 62% of it 
is free? 62% of 2GiB of ram is a lot more than 160MiB. I even tried 
uninstalling ureadahead but that doesn't help. So I'm not sure that the problem 
is strictly located in ureadahead.

-- 
Kernel trace buffer should be cleared and size restored after profiling
https://bugs.launchpad.net/bugs/501715
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 501715] Re: Kernel trace buffer should be cleared and size restored after profiling

2010-04-14 Thread lavinog
@Petar:  I don't think this bug is your issue if uninstalling ureadahead
didn't help.

-- 
Kernel trace buffer should be cleared and size restored after profiling
https://bugs.launchpad.net/bugs/501715
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 501715] Re: Kernel trace buffer should be cleared and size restored after profiling

2010-04-08 Thread Scott James Remnant
** Summary changed:

- ureadahead doesn't reduce tracing buffer after profile
+ Kernel trace buffer should be cleared and size restored after profiling

** Changed in: ureadahead (Ubuntu)
   Importance: Medium = High

-- 
Kernel trace buffer should be cleared and size restored after profiling
https://bugs.launchpad.net/bugs/501715
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs