Public bug reported:

I think that log files compression lowers the system performance on
desktop computers which have now enough disk space for storing old logs.

The "nocompress" and "compress" options of logrotate configure 2
different behaviours of logrotate.

If the log file isn't compressed,
logrotate will just rename it to something like 'log_file_name.log.1'
with quite no disk input/output.

If the log file is compressed,
logrotate will read the file, compress it and rewrite the content into a new 
file with a name like 'log_file_name.log.1.gz'.

I think that files compression is a good tradeoff only in case the
compressed files have a longer lifetime than the log files (i. e. man
pages, documentation, fonts, Debian package files, ...).

Drawbacks of log files compression :
- increases disk input/output
- increases cpu and memory usage
- increases energy consumption
- slightly decreases the disk lifetime

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: jockey-common 0.9.2-0ubuntu5
ProcVersionSignature: Ubuntu 2.6.38-11.48-generic 2.6.38.8
Uname: Linux 2.6.38-11-generic x86_64
Architecture: amd64
CurrentDmesg:
 [   26.629307] ISO 9660 Extensions: Microsoft Joliet Level 3
 [   26.706653] EXT4-fs (sda1): re-mounted. Opts: errors=remount-ro,commit=0
 [   26.718316] ISO 9660 Extensions: RRIP_1991A
 [ 4494.199661] atkbd serio0: Spurious NAK on isa0060/serio0. Some program 
might be trying access hardware directly.
 [ 4909.031016] hrtimer: interrupt took 12699711 ns
Date: Sat Sep  3 15:01:10 2011
InstallationMedia: Lubuntu 11.04 "Natty Narwhal" - Release amd64 (20110427)
Lsusb: Error: command ['lsusb'] failed with exit code 1:
MachineType: innotek GmbH VirtualBox
PackageArchitecture: all
ProcEnviron:
 LANG=fr_FR.UTF-8
 SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.38-11-generic 
root=UUID=2a882681-bcf7-4d36-9eb7-ff82a9dff4da ro quiet splash vt.handoff=7
SourcePackage: jockey
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 12/01/2006
dmi.bios.vendor: innotek GmbH
dmi.bios.version: VirtualBox
dmi.modalias: 
dmi:bvninnotekGmbH:bvrVirtualBox:bd12/01/2006:svninnotekGmbH:pnVirtualBox:pvr1.2:
dmi.product.name: VirtualBox
dmi.product.version: 1.2
dmi.sys.vendor: innotek GmbH

** Affects: jockey (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug natty

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to jockey in Ubuntu.
https://bugs.launchpad.net/bugs/840320

Title:
  /etc/logrotate.d/jockey-common should not have compress option

Status in “jockey” package in Ubuntu:
  New

Bug description:
  I think that log files compression lowers the system performance on
  desktop computers which have now enough disk space for storing old
  logs.

  The "nocompress" and "compress" options of logrotate configure 2
  different behaviours of logrotate.

  If the log file isn't compressed,
  logrotate will just rename it to something like 'log_file_name.log.1'
  with quite no disk input/output.

  If the log file is compressed,
  logrotate will read the file, compress it and rewrite the content into a new 
file with a name like 'log_file_name.log.1.gz'.

  I think that files compression is a good tradeoff only in case the
  compressed files have a longer lifetime than the log files (i. e. man
  pages, documentation, fonts, Debian package files, ...).

  Drawbacks of log files compression :
  - increases disk input/output
  - increases cpu and memory usage
  - increases energy consumption
  - slightly decreases the disk lifetime

  ProblemType: Bug
  DistroRelease: Ubuntu 11.04
  Package: jockey-common 0.9.2-0ubuntu5
  ProcVersionSignature: Ubuntu 2.6.38-11.48-generic 2.6.38.8
  Uname: Linux 2.6.38-11-generic x86_64
  Architecture: amd64
  CurrentDmesg:
   [   26.629307] ISO 9660 Extensions: Microsoft Joliet Level 3
   [   26.706653] EXT4-fs (sda1): re-mounted. Opts: errors=remount-ro,commit=0
   [   26.718316] ISO 9660 Extensions: RRIP_1991A
   [ 4494.199661] atkbd serio0: Spurious NAK on isa0060/serio0. Some program 
might be trying access hardware directly.
   [ 4909.031016] hrtimer: interrupt took 12699711 ns
  Date: Sat Sep  3 15:01:10 2011
  InstallationMedia: Lubuntu 11.04 "Natty Narwhal" - Release amd64 (20110427)
  Lsusb: Error: command ['lsusb'] failed with exit code 1:
  MachineType: innotek GmbH VirtualBox
  PackageArchitecture: all
  ProcEnviron:
   LANG=fr_FR.UTF-8
   SHELL=/bin/bash
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.38-11-generic 
root=UUID=2a882681-bcf7-4d36-9eb7-ff82a9dff4da ro quiet splash vt.handoff=7
  SourcePackage: jockey
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 12/01/2006
  dmi.bios.vendor: innotek GmbH
  dmi.bios.version: VirtualBox
  dmi.modalias: 
dmi:bvninnotekGmbH:bvrVirtualBox:bd12/01/2006:svninnotekGmbH:pnVirtualBox:pvr1.2:
  dmi.product.name: VirtualBox
  dmi.product.version: 1.2
  dmi.sys.vendor: innotek GmbH

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/jockey/+bug/840320/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to