Public bug reported:

Forwarded from bug #605048.

Running "sudo update-software-center" causes an excessive amount of re-
stat()ing for a single translation-related file: it is stat()ing for
'app-install-data.mo' a quarter of a million times during the two-minute
run:

  $ time sudo strace update-software-center 2>&1 | grep -c 
'^stat64.*app-install-data.mo'
  271169

  real 2m1.576s
  user 1m9.032s
  sys 0m49.031s

It is likely that this is indicative of an inefficiency somewhere in the
process and that a good deal of the reported 'sys' time is probably
spend handling those calls.

** Affects: software-center (Ubuntu)
     Importance: Undecided
         Status: New

** Description changed:

- Binary package hint: software-center
- 
  Forwarded from bug #605048.
  
  Running "sudo update-software-center" causes an excessive amount of re-
  stat()ing for a single translation-related file, stat()ing for 'app-
  install-data.mo' a quarter of a million times:
  
-   $ time sudo strace update-software-center 2>&1 | grep -c 
'^stat64.*app-install-data.mo'
-   271169
+   $ time sudo strace update-software-center 2>&1 | grep -c 
'^stat64.*app-install-data.mo'
+   271169
  
-   real 2m1.576s
-   user 1m9.032s
-   sys 0m49.031s
+   real 2m1.576s
+   user 1m9.032s
+   sys 0m49.031s
  
  It is likely that this is indicative of an inefficiency somewhere in the
  process and that a good deal of the 'sys' time is spend handling those
  calls.

** Description changed:

  Forwarded from bug #605048.
  
  Running "sudo update-software-center" causes an excessive amount of re-
- stat()ing for a single translation-related file, stat()ing for 'app-
- install-data.mo' a quarter of a million times:
+ stat()ing for a single translation-related file: it is stat()ing for
+ 'app-install-data.mo' a quarter of a million times during the two-minute
+ run:
  
    $ time sudo strace update-software-center 2>&1 | grep -c 
'^stat64.*app-install-data.mo'
    271169
  
    real 2m1.576s
    user 1m9.032s
    sys 0m49.031s
  
  It is likely that this is indicative of an inefficiency somewhere in the
- process and that a good deal of the 'sys' time is spend handling those
- calls.
+ process and that a good deal of the reported 'sys' time is probably
+ spend handling those calls.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/697650

Title:
  sudo update-software-center causes excessive stat()ing

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to