I don't have a full Ubuntu filesystem in front of me right now, but
running on a maverick/xfce-based linaro fs, I still observe some
slowdown.

By default, mkfs.ext4 (for example) runs at +19 nice while gparted is
making an ext4 filesystem on my SD card.  Building the filesystem
typically takes approximately 26 seconds in this configuration.

renicing to -19 or SCHED_FIFO, building the filesystem is quicker -
about 21 seconds (which is close to the time taken to run mkfs.ext4
directly.)

The progress bar animation style has changed since I originally reported
the bug (or xfce differs from the default gnome theme on this) - with
xfce I now get a short bar sliding back and forth, instead of a full-
width animated bar.  This may affect the gparted/Xorg CPU load.  The
performance delta will vary between devices depending on memory
bandwidth and bus contention etc.  In my case, I don't seem to get the
same amount of slowdown which I remember observing previously in
Jaunty... but it's not the same software or hardware in this case.

I suggest that mkfs should not be run at positive nice on any platform -
do you know what is causing this?

Cheers
---Dave

-- 
gpartedbin and Xorg starve mkfs of CPU time.
https://bugs.launchpad.net/bugs/378990
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

Reply via email to