← Back to team overview

desktop-packages team mailing list archive

[Bug 913856] Re: NetworkManager periodically writes to the disk causing wakeups

 

On my system, I only see the singe "timestamps" file in
/var/lib/NetworkManager.   Do you have any active systems connections or
VPNs active at the same time?  That would explain the multiple
timestamps files?

>From a cursory glance, these timestamps record an active connection's
last-used time so that if a disconnect occurs, NetworkManager will
automatically re-connect to the right network.

Re: the fsync, my guess is removing it at worse case would cause
NetworkManager to hiccup and try to connect to the wrong network if the
last-used timestamp didn't actually hit the disk and the system was put
to sleep/rebooted...

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

Title:
  NetworkManager periodically writes to the disk causing wakeups

Status in “network-manager” package in Ubuntu:
  New

Bug description:
  Network Manager is periocially creating dirty pages that are being
  written back to disk and causing uncessary drive wakeups.

  Using SystemTap I was able to observe the following dirty pages being
  created on the following files

         0      795        1 NetworkManager      sda1 D Mon Dec 19 13:54:50 2011 timestamps
         0      795        1 NetworkManager      sda1 D Mon Dec 19 13:54:50 2011 timestamps.096F6V
         0      795        1 NetworkManager      sda1 D Mon Dec 19 13:54:50 2011
         0      795        1 NetworkManager      sda1 D Mon Dec 19 13:54:50 2011 timestamps.5RWD6V

  ..and this occurs regulary every 5 minutes.

  Can we either reduce the frequency of these writes or better still
  only write the updates when really necessary (e.g. when we close
  NetworkManager or the user interacts with NetworkManager which
  requires us to really write data back to disk).

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/913856/+subscriptions


References