[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#498074: ud: Don't sync() every filesystem every two minutes

Package: ud
Version: 0.7.1-21
Severity: normal

While figuring out what kills the performance of my system under
certain heavy disk loads, I figured out ud does AFAICT entirely
unnecessarily a full filesystem sync() on every filesystem every time
it updates the uptime record, which is once every two minutes.

A fdatasync() at most should be easily enough for the application.


-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux (SMP w/4 CPU cores; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages ud depends on:
ii  debianutils                   2.30       Miscellaneous utilities specific t
ii  libc6                         2.7-13     GNU C Library: Shared libraries

ud recommends no packages.

ud suggests no packages.

-- no debconf information

Reply to: