shakaran

ltrace ouput for apt-get slowness

Aug 21st, 2013
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 3.51 KB | None | 0 0
  1. date; time sudo ltrace -c apt-get update; date;
  2.  
  3. % time     seconds  usecs/call     calls      function
  4. ------ ----------- ----------- --------- --------------------
  5.  98.58   48.717464    48717464         1 _Z10ListUpdateR16pkgAcquireStatusR13pkgSourceListi
  6.   0.33    0.161634          57      2796 strlen
  7.   0.22    0.109207          54      2021 _ZN10pkgAcquire10WorkerStepEPNS_6WorkerE
  8.   0.21    0.102551          62      1628 _ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_i
  9.   0.10    0.047112          93       506 sigprocmask
  10.   0.09    0.046541          53       867 __snprintf_chk
  11.   0.09    0.045942         181       253 _ZN16pkgAcquireStatus5PulseEP10pkgAcquire
  12.   0.08    0.040046          91       437 _ZNSo5flushEv
  13.   0.05    0.023375         127       183 _ZNSo3putEc
  14.   0.04    0.021498          79       272 __sprintf_chk
  15.   0.03    0.016527          60       272 memset
  16.   0.03    0.013745       13745         1 _ZN12pkgCacheFile12RemoveCachesEv
  17.   0.03    0.012793          50       253 sigemptyset
  18.   0.03    0.012735          50       253 sigaddset
  19.   0.03    0.012462          64       192 gettext
  20.   0.02    0.012027         120       100 _ZN16pkgAcquireStatus7FetchedEyy
  21.   0.02    0.007482        3741         2 _ZN12pkgCacheFile15BuildSourceListEP10OpProgress
  22.   0.01    0.004137        4137         1 _Z13pkgInitConfigR13Configuration
  23.   0.01    0.003432          57        60 _ZNSs4_Rep10_M_destroyERKSaIcE
  24.   0.00    0.002419          60        40 _Z9SizeToStrd
  25.   0.00    0.001214          60        20 _Z9TimeToStrm
  26.   0.00    0.000921          48        19 __udivdi3
  27.   0.00    0.000886          46        19 memcpy
  28.   0.00    0.000796         132         6 __cxa_atexit
  29.   0.00    0.000672          44        15 snprintf
  30.   0.00    0.000338         338         1 setlocale
  31.   0.00    0.000242         121         2 _ZNSt8ios_base4InitC1Ev
  32.   0.00    0.000240          48         5 _ZNK13Configuration5FindBEPKcRKb
  33.   0.00    0.000195         195         1 _ZNSt14basic_ofstreamIcSt11char_traitsIcEEC1EPKcSt13_Ios_Openmode
  34.   0.00    0.000178         178         1 _ZN16pkgAcquireStatusC2Ev
  35.   0.00    0.000174          58         3 _ZNK13Configuration5FindIEPKcRKi
  36.   0.00    0.000165          55         3 _ZNSoC1EPSt15basic_streambufIcSt11char_traitsIcEE
  37.   0.00    0.000161          53         3 _ZNSo9_M_insertImEERSoT_
  38.   0.00    0.000149         149         1 _Z13pkgInitSystemR13ConfigurationRP9pkgSystem
  39.   0.00    0.000141         141         1 _Z12_GetErrorObjv
  40.   0.00    0.000140         140         1 ioctl
  41.   0.00    0.000134         134         1 _Z8ioprintfRSoPKcz
  42.   0.00    0.000129         129         1 _ZN16pkgAcquireStatus4StopEv
  43.   0.00    0.000122          61         2 signal
  44.   0.00    0.000115         115         1 _ZN16pkgAcquireStatus5StartEv
  45.   0.00    0.000109          36         3 _ZNSt9basic_iosIcSt11char_traitsIcEE5rdbufEPSt15basic_streambufIcS1_E
  46.   0.00    0.000088          44         2 _ZNK11CommandLine8FileSizeEv
  47.   0.00    0.000085          85         1 _ZN14OpTextProgressC1ER13Configuration
  48.   0.00    0.000077          77         1 isatty
  49.   0.00    0.000074          74         1 getuid
  50.   0.00    0.000050          50         1 _ZN12pkgCacheFileC2Ev
  51.   0.00    0.000043          43         1 textdomain
  52.   0.00    0.000043          43         1 _ZN11CommandLineC1EPNS_4ArgsEP13Configuration
  53.   0.00    0.000036          36         1 _ZN11CommandLine5ParseEiPPKc
  54. ------ ----------- ----------- --------- --------------------
  55. 100.00   49.420846                 10256 total
Advertisement
Add Comment
Please, Sign In to add comment