Public bug reported:
Binary package hint: foomatic-db
The /usr/share/ppd directory uses a lot of disk space.
All the ppd files are currently compressed by using gzip.
I think that using lzma would decrease the disk space used as well as
improve the decompression speed.
Below is a comparaison for the file
/usr/share/ppd/openprinting/KONICA_MINOLTA/KO1050UX.ppd.gz:
-----
j...@j-desktop:~$ du KO1050UX.ppd*
256 KO1050UX.ppd
24 KO1050UX.ppd.gz
16 KO1050UX.ppd.lzma
j...@j-desktop:~$ time { for i in {0..999} ; do unlzma -c KO1050UX.ppd.lzma
>/dev/null ; done }
real 0m18.765s
user 0m7.060s
sys 0m11.560s
j...@j-desktop:~$ time { for i in {0..999} ; do gunzip -c KO1050UX.ppd.gz
>/dev/null ; done }
real 0m23.183s
user 0m6.840s
sys 0m16.170s
j...@j-desktop:~$
-----
ProblemType: Bug
Architecture: amd64
CupsErrorLog:
E [08/Oct/2009:11:27:00 +0200] Unable to remove temporary file
"/var/spool/cups/tmp/.hplip" - Is a directory
E [08/Oct/2009:12:32:08 +0200] Unable to remove temporary file
"/var/spool/cups/tmp/.hplip" - Is a directory
CurrentDmesg:
[ 18.390080] Clocksource tsc unstable (delta = -449463366 ns)
[ 18.920203] eth0: no IPv6 routers present
[ 764.424483] oosplash.bin[1546]: segfault at 7f7e88ef9ae8 ip
0000000000403db1 sp 00007fff38619400 error 6 in oosplash.bin[400000+7000]
Date: Thu Oct 8 13:04:08 2009
DistroRelease: Ubuntu 9.10
Lpstat: Error: command ['lpstat', '-v'] failed with exit code 1: lpstat: No
destinations added.
Lsusb: Error: command ['lsusb'] failed with exit code 1:
Package: openprinting-ppds 20090825-0ubuntu3
PackageArchitecture: all
Papersize: a4
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.31-12-generic
root=UUID=a4218aa5-7e30-45af-85dd-f9c3b1ce603a ro quiet splash
ProcEnviron:
LANG=fr_FR.UTF-8
SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-12.41-generic
SourcePackage: foomatic-db
Uname: Linux 2.6.31-12-generic x86_64
XsessionErrors:
(gnome-settings-daemon:1182): GLib-CRITICAL **: g_propagate_error: assertion
`src != NULL' failed
(gnome-settings-daemon:1182): GLib-CRITICAL **: g_propagate_error: assertion
`src != NULL' failed
(nautilus:1227): Eel-CRITICAL **: eel_preferences_get_boolean: assertion
`preferences_is_initialized ()' failed
(polkit-gnome-authentication-agent-1:1236): GLib-CRITICAL **:
g_once_init_leave: assertion `initialization_value != 0' failed
dmi.bios.date: 01/01/2007
dmi.bios.vendor: QEMU
dmi.bios.version: QEMU
dmi.chassis.type: 1
dmi.modalias: dmi:bvnQEMU:bvrQEMU:bd01/01/2007:svn:pn:pvr:cvn:ct1:cvr:
** Affects: foomatic-db (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug
--
lzma more efficient than gzip
https://bugs.launchpad.net/bugs/446245
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs