Hi,

marking packages as automatically installed seems to be also quite
slow even on my 700MHz Athlon system with 1GB of RAM.

I used ptrace to attach to aptitude, then pressed "M" on a package and
logged the value of EIP at every instruction and then counted what
values are most common:

count   EIP             symbol:offset
    299 b7d30d8a        _ZN7cwidget18column_dispositionC1ERKSsiPKc-0xa0:9a
    435 b7de70b8        _ZNK4sigc8internal11signal_impl4sizeEv-0xd0:c8
   9986 b7e4b672        _ZNK13Configuration5FindBEPKcb:52
   9987 b7e5e4dc        _ZN8pkgCache11PkgIteratorppEi:5c
  10006 b7e4aa3e        _ZN13Configuration6LookupEPKcb:ae
  10026 b7e4a889        _ZN13Configuration6LookupEPNS_4ItemEPKcmb:f9
  10048 b7ae741e        strlen:ae
  40082 b7e4645a        
_Z13stringcasecmpN9__gnu_cxx17__normal_iteratorIPKcSsEES3_S2_S2_:6a
  40089 b7c88c51        _ZNSs9_M_mutateEjjj:f1
  40090 b7c882d6        _ZNSsC1ERKSs:36
  40168 b7c89710        _ZNSs12_M_leak_hardEv:40
  40174 b7c86c11        _ZNSs4_Rep9_S_createEjjRKSaIcE:71
  40174 b7c86c52        _ZNSs4_Rep10_M_destroyERKSaIcE:22
  40209 b7ae8895        memcpy:45
  40284 b7caae46        _ZdlPv:26
  40300 b7ae078a        malloc_set_state:99a
  40310 b7cac785        _Znwj:85
  40313 b7ae4521        __libc_free:41
  40482 b7ae2ce5        __libc_malloc:45
  40505 b7ae0e54        malloc_set_state:1064
  70150 b7e443aa        _ZN4MMapC2Em-0xa0:9a
 162266 b7a8b293        __libc_init_first-0x70:63
 201479 b7a99316        toupper:36
 201479 b7b85e1e        __frame_state_for:d1e
 281497 b7c36a7a        _ZN9__gnu_cxx9free_list8_M_clearEv-0x1490:9a

(I was not able to trace all instructions since it took really long
but this should cover the first 1494401 instructions needed to mark
package as automatically installed)

best regard,
Timo Lindfors




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to