Re: [Bug 432089] Re: performs poorly on slow HDD

2009-12-01 Thread Omegamormegil
Christian,

Sorry you are still having trouble.  Lots of people have reported that this
solution has made substantial improvements to their boot time, effectively
fixing this bug for all of them.  If you are still experiencing a slow boot
time, it would be best to open a new bug report because you must have a
different issue.

Feel free to post a link to your new report here, so other people having the
same problem as you might have an easier time finding your report.

On Tue, Dec 1, 2009 at 3:10 PM, Christian Loos
chr.l...@googlemail.comwrote:

 After upgrade from jaunty to karmic my boot time was rising from 1 minute
 to 10 minutes.
 Even after I installed ureadahead and linux-image from proposed, boot time
 is also 10 minutes.
 So from my point of view this bug isn't fixed. Attached is my dmesg.
 If you need further information just contact me.

 ** Attachment added: dmesg-2009-12-01.log
   http://launchpadlibrarian.net/36308039/dmesg-2009-12-01.log

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

 --
 performs poorly on slow HDD
 https://bugs.launchpad.net/bugs/432089
 You received this bug notification because you are a direct subscriber
 of a duplicate bug.

 Status in “sreadahead” package in Ubuntu: Won't Fix
 Status in “ureadahead” package in Ubuntu: Fix Released
 Status in “sreadahead” source package in Karmic: Fix Released
 Status in “ureadahead” source package in Karmic: Fix Committed

 Bug description:
 Binary package hint: sreadahead

 This is a tracking bug to improve performance on HDD disks, especially the
 really slow ones where sreadahead and the kernel have a deathmatch


-- 
performs poorly on slow HDD
https://bugs.launchpad.net/bugs/432089
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

Re: [Bug 432089] Re: performs poorly on slow HDD

2009-12-01 Thread Martin Pitt
Tim [2009-12-02  0:52 -]:
 Since I don't have karmic-proposed enabled, does that mean installing
 this update could break my system?

No, the kernel is already in -updates now, and even if you don't run
that the worst thing that can happen that you get no readahead at all,
and thus no speedup.

-- 
performs poorly on slow HDD
https://bugs.launchpad.net/bugs/432089
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


Re: [Bug 432089] Re: performs poorly on slow HDD

2009-11-13 Thread Scott James Remnant
On Thu, 2009-11-12 at 22:28 +, Bdopo wrote:

 Bootchart after installing the ureadhead from the boot ppa. 4 second
 difference.
 
This is still profiling, make sure you have a /var/lib/ureadahead/*pack
file and reboot again :-)

Scott
-- 
Scott James Remnant
sc...@ubuntu.com

-- 
performs poorly on slow HDD
https://bugs.launchpad.net/bugs/432089
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


Re: [Bug 432089] Re: performs poorly on slow HDD

2009-11-13 Thread Scott James Remnant
On Fri, 2009-11-13 at 08:35 +, ScottHW wrote:

 I've been experiencing significantly slower boot times since upgrading
 to Karmic.  Too bad, as one of the main features I thought we were going
 to look forward to was faster booting.
 
 In Hardy, I was booting in ~0:39
 In Jaunty, I was booting in ~-0.26
 In Karmic, I was booting in ~1.22
 
 Upgraded to ureadahead, I am booting in ~1.19
 
Please open up your jaunty and karmic (ureadhead) bootcharts; that goes
for everyone else too ;-)

Now first, please ignore the time: bit at the top.  That is *NOT* your
boot time, that is simply the number of seconds after boot that
bootchart exited (for whatever reason).

Reading jaunty, scroll down and look at the chart; look at what the last
thing happening before the chart is cut off:  It's about 3/4 the way
down:

  [gdm  ]
  [Xorg ]
[sh]
[xkbcomp]

So this chart is being cut off as soon as the X server is started, and
the other init scripts are finished.


Reading karmic, you'll notice that the chart is much wider and that the
CPU and I/O graphs of the last bit are empty.  That's because bootchart
runs longer to capture _more_ of the boot.

Try and find the same gdm/Xorg pattern - it's not at the right hand side
of the graph is it?  In fact it's almost exactly in the middle.

jaunty wasn't booting faster - the karmic bootchart just *also* includes
your desktop login as well (since we care about both)

Scott
-- 
Scott James Remnant
sc...@ubuntu.com

-- 
performs poorly on slow HDD
https://bugs.launchpad.net/bugs/432089
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


Re: [Bug 432089] Re: performs poorly on slow HDD

2009-11-12 Thread Steve Langasek
Hi Scott,

On Tue, Nov 10, 2009 at 05:38:14PM -, Scott James Remnant wrote:
 hdparm sync of death.  I should file a bug about that ;)
 - delete /lib/udev/rules.d/85-hdparm.rules

If we don't use the udev rule, what will set the initial power management
policy for the drive?  We don't want to rely on /etc/init.d/acpi-support,
since for one thing that's not guaranteed to catch all drives after they've
been probed.

-- 
Steve Langasek   Give me a lever long enough and a Free OS
Debian Developer   to set it on, and I can move the world.
Ubuntu Developerhttp://www.debian.org/
slanga...@ubuntu.com vor...@debian.org

-- 
performs poorly on slow HDD
https://bugs.launchpad.net/bugs/432089
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


Re: [Bug 432089] Re: performs poorly on slow HDD

2009-11-12 Thread Scott James Remnant
On Thu, 2009-11-12 at 09:21 +, Steve Langasek wrote:

 On Tue, Nov 10, 2009 at 05:38:14PM -, Scott James Remnant wrote:
  hdparm sync of death.  I should file a bug about that ;)
  - delete /lib/udev/rules.d/85-hdparm.rules
 
 If we don't use the udev rule, what will set the initial power management
 policy for the drive?  We don't want to rely on /etc/init.d/acpi-support,
 since for one thing that's not guaranteed to catch all drives after they've
 been probed.
 
You know that this does nothing out of the box, right?  Other than call
sync 32 times during boot

Scott
-- 
Scott James Remnant
sc...@ubuntu.com

-- 
performs poorly on slow HDD
https://bugs.launchpad.net/bugs/432089
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


Re: [Bug 432089] Re: performs poorly on slow HDD

2009-11-11 Thread Scott James Remnant
On Tue, 2009-11-10 at 19:20 +, FriedChicken wrote:

 In case you need it...
 Everything in the list has 0 blocks. 
 
What kind of filesystem are you using?  Are you using wubi or anything?

Scott
-- 
Scott James Remnant
sc...@ubuntu.com

-- 
performs poorly on slow HDD
https://bugs.launchpad.net/bugs/432089
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


Re: [Bug 432089] Re: performs poorly on slow HDD

2009-11-11 Thread Scott James Remnant
On Tue, 2009-11-10 at 17:53 +, Ryan wrote:

 My before and after hover right around 131s  tried remove on *pack, and
 did two more reboots.  Here's the ureadahead --dump dump in case it is
 of any interest.
 
Actually your boot time is 55s (look at the point on the chart where CPU
and I/O activity ceases)

Scott
-- 
Scott James Remnant
sc...@ubuntu.com

-- 
performs poorly on slow HDD
https://bugs.launchpad.net/bugs/432089
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


Re: [Bug 432089] Re: performs poorly on slow HDD

2009-11-11 Thread Scott James Remnant
On Wed, 2009-11-11 at 06:25 +, Farooq wrote:

 This attachment contains bootchart graphs for sreadahead and after
 applying the patch, for ureadahead. Seems like the upgrade have given 5
 seconds boost i.e. it was 70sec for sreadahead and is 65sec with
 ureadahead. But overall, it's still very very slow as compared with
 Jaunty which used to boot in 20sec.
 
Your boot time is 45s, not 65s, with ureadahead.

You didn't supply a jaunty bootchart, so I don't believe your 20s claim.
Are you reading the Time: bit rather than looking at the chart itself?

Scott
-- 
Scott James Remnant
sc...@ubuntu.com

-- 
performs poorly on slow HDD
https://bugs.launchpad.net/bugs/432089
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


Re: [Bug 432089] Re: performs poorly on slow HDD

2009-11-11 Thread FriedChicken

  In case you need it...
  Everything in the list has 0 blocks.
 
 What kind of filesystem are you using?  Are you using wubi or anything?


XFS on / and ext3 on /boot. No, it's a native installation.

-- 
performs poorly on slow HDD
https://bugs.launchpad.net/bugs/432089
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


Re: [Bug 432089] Re: performs poorly on slow HDD

2009-11-11 Thread Martin Pitt
Jamie Strandboge [2009-11-11 13:54 -]:
 Upgrading to the sreadahead in karmic-proposed (in main) pulls in
 ureadahead from from universe.

Fixed some hour ago, promoted to main now.

-- 
performs poorly on slow HDD
https://bugs.launchpad.net/bugs/432089
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


Re: [Bug 432089] Re: performs poorly on slow HDD

2009-11-11 Thread Scott James Remnant
On Wed, 2009-11-11 at 13:58 +, phil wrote:

 Yes, it works much better. Thank you Scott!
 But I'm still getting more than duble the boot time I had in jaunty if I'm 
 not mistaken (?). 
 Attached are bootcharts of the different kernel-versions. 
 What is my problem? (said one shrink to the other..)
 
No problem, bootchart just runs for longer in karmic ;-)

In jaunty, this only covered the core boot sequence - and didn't even
include the time for the login manager to show up.  In your
sylvester-jaunty-20091028-1.png chart, Xorg is still initialising where
the bootchart cuts off on the RHS @ 55s.

Comparing that to your sylvester-karmic-2009-4.png, Xorg finishes
initialising around 45s (10s faster) - the bootchart simply then carries
on to include your desktop login and the first 30-45s of your desktop
usage.

Scott
-- 
Scott James Remnant
sc...@ubuntu.com

-- 
performs poorly on slow HDD
https://bugs.launchpad.net/bugs/432089
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


Re: [Bug 432089] Re: performs poorly on slow HDD

2009-11-11 Thread Martin Pitt
Johan Kiviniemi [2009-11-11 15:49 -]:
 I’ve been running the kernel and ureadahead from the ubuntu-boot PPA and
 afterwards from karmic-proposed, including the very latest packages it
 currently has. It has worked for me all the time without problems.

 +1 on my system, for contributing to verification feedback

-- 
performs poorly on slow HDD
https://bugs.launchpad.net/bugs/432089
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

Re: [Bug 432089] Re: performs poorly on slow HDD

2009-11-10 Thread Scott James Remnant
On Tue, 2009-11-10 at 06:09 +, pbrufal wrote:

 In my system, adding the PPA+ureadahead makes the system 5sec slower :?
 I'm using the last kernel (2.6.31-15.49)
 
 80 sec before PPA
 85 sec after PPA (tried 6 times)
 
You didn't attach the before bootchart.

In the after bootchart, the boot time is actually only 55s; of which
it looks like 5s are waiting at the login screen.

Scott
-- 
Scott James Remnant
sc...@ubuntu.com

-- 
performs poorly on slow HDD
https://bugs.launchpad.net/bugs/432089
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


Re: [Bug 432089] Re: performs poorly on slow HDD

2009-11-10 Thread Scott James Remnant
On Tue, 2009-11-10 at 14:25 +, FriedChicken wrote:

 After installing ureadahead from proposed booting takes about 10 s
 longer.
 
From the chart, it actually appears a few seconds quicker - but it's
strange that it hasn't made much of a difference for you.

Try removing that /var/lib/ureadhead/*pack files then doing a boot with
auto-login enabled to profile that.  If that's not faster - attach the
output of ureadahead --dump to this bug.

Scott
-- 
Scott James Remnant
sc...@ubuntu.com

-- 
performs poorly on slow HDD
https://bugs.launchpad.net/bugs/432089
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


Re: [Bug 432089] Re: performs poorly on slow HDD

2009-11-10 Thread Scott James Remnant
On Tue, 2009-11-10 at 15:42 +, Tyson Williams wrote:

 This proposed update did not speed up my system (that uses a SSD).
 
Ok, SSD gains are in the order of quarter to half a second - it's good
to know it hasn't regressed :p  (this update is all about HDD
performance, not SSD)

 In all of these boot charts, you can see that there is about a 30
 seconds period where the CPU is barely being used, the CPU is waiting
 for the disk, the disk is being utilized, but the throughput of the
 disk is basically zero.  What is going on during this time? If it could
 be removed, I could at least get back to my ~30 Jaunty boot times.
 
hdparm sync of death.  I should file a bug about that ;)
- delete /lib/udev/rules.d/85-hdparm.rules

Scott
-- 
Scott James Remnant
sc...@ubuntu.com

-- 
performs poorly on slow HDD
https://bugs.launchpad.net/bugs/432089
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


Re: [Bug 432089] Re: performs poorly on slow HDD

2009-11-10 Thread Scott James Remnant
On Tue, 2009-11-10 at 16:43 +, tado wrote:

 my boot time has decreased a bit, but it is still substantially high. 
 bootchart says 1:20, my stopwatch says 1:52 till ready desktop.
 unfortunately i don't have a bootchart from right before installing, so the 
 one attached here is from a few days ago. no substantial changes have 
 happened since then, anyway.
 
You're on SSD?  Run ureadahead --dump | head -2 for me and attach the
output.

Scott
-- 
Scott James Remnant
sc...@ubuntu.com

-- 
performs poorly on slow HDD
https://bugs.launchpad.net/bugs/432089
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


Re: [Bug 432089] Re: performs poorly on slow HDD

2009-10-16 Thread Martin Pitt
Scott James Remnant [2009-10-15 19:43 -]:
 Not that I know of - which kernel are you using?

Just what's in karmic (amd64 2.6.31-14.47-generic), but it's been that
slow for weeks, so it's nothing new.

-- 
Martin Pitt| http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)

-- 
performs poorly on slow HDD
https://bugs.launchpad.net/bugs/432089
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


Re: [Bug 432089] Re: performs poorly on slow HDD

2009-10-16 Thread Martin Pitt
Hernando Torque [2009-10-15 21:17 -]:
 @Martin Pitt: Are you referring to the bar in the chart not being red?

I did yes. That, and grub-gdm now taking 85 seconds, where it took
just 50 in jaunty.

 Maybe bootchart doesn't represent sreadahead very well, because when put
 in foreground you can see I/O going on while the bar is still gray:
 http://img.xrmb2.net/images/660462.png

It might also be a bootchart bug of course, assigning the I/O to wrong
processes. However, I don't quite believe that: As you see in my
bootchart [1], sreadahead starts and just has a tiny fraction of a
second before other processes kick in and use I/O. In the readahead
times it was the only active process for some 15 seconds, to avoid
trashing with other processes.

Martin

[1] http://people.canonical.com/~pitti/tmp/tick-karmic-20090924-2.png
-- 
Martin Pitt| http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)

-- 
performs poorly on slow HDD
https://bugs.launchpad.net/bugs/432089
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


Re: [Bug 432089] Re: performs poorly on slow HDD

2009-10-15 Thread Scott James Remnant
On Wed, 2009-10-14 at 21:40 +, Pavel Rojtberg wrote:

 in case this bug cant be fix for karmic - are there any plans to revert
 to readahead and postpone sreadahead for lynx? It did a good job for
 HDDs and these are still used in the majority of the target systems.
 
In the testing I've been able to do, readahead doesn't show any
improvement.

Scott
-- 
Scott James Remnant
sc...@ubuntu.com

-- 
performs poorly on slow HDD
https://bugs.launchpad.net/bugs/432089
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


Re: [Bug 432089] Re: performs poorly on slow HDD

2009-10-15 Thread Martin Pitt
Scott James Remnant [2009-10-15 17:38 -]:
 In the testing I've been able to do, readahead doesn't show any
 improvement.

Hm, sreadahead does not do _any_ readahead for me right now. Is that
due to a kernel change which would also break readahead?

Martin
-- 
Martin Pitt| http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)

-- 
performs poorly on slow HDD
https://bugs.launchpad.net/bugs/432089
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


Re: [Bug 432089] Re: performs poorly on slow HDD

2009-10-15 Thread Scott James Remnant
On Thu, 2009-10-15 at 18:53 +, Martin Pitt wrote:

 Scott James Remnant [2009-10-15 17:38 -]:
  In the testing I've been able to do, readahead doesn't show any
  improvement.
 
 Hm, sreadahead does not do _any_ readahead for me right now. Is that
 due to a kernel change which would also break readahead?
 
Not that I know of - which kernel are you using?

Scott
-- 
Scott James Remnant
sc...@ubuntu.com

-- 
performs poorly on slow HDD
https://bugs.launchpad.net/bugs/432089
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