[Bug debuginfod/31103] periodically malloc_trim()

dichen at redhat dot com sourceware-bugzilla@sourceware.org
Thu Mar 14 03:42:34 GMT 2024


https://sourceware.org/bugzilla/show_bug.cgi?id=31103

--- Comment #6 from Di Chen <dichen at redhat dot com> ---
Thanks Frank, I have debugged with rusage, but the difference between "during"
and "post" is not that obvious. I believe it's due to my small
.debuginfod.sqlite.

```
(gdb) p during
$2 = {ru_utime = {tv_sec = 0, tv_usec = 21790}, ru_stime = {tv_sec = 0, 
    tv_usec = 29003}, {ru_maxrss = 103836, __ru_maxrss_word = 103836}, {
    ru_ixrss = 0, __ru_ixrss_word = 0}, {ru_idrss = 0, __ru_idrss_word = 0}, {
    ru_isrss = 0, __ru_isrss_word = 0}, {ru_minflt = 967, 
    __ru_minflt_word = 967}, {ru_majflt = 0, __ru_majflt_word = 0}, {
    ru_nswap = 0, __ru_nswap_word = 0}, {ru_inblock = 0, 
    __ru_inblock_word = 0}, {ru_oublock = 128, __ru_oublock_word = 128}, {
    ru_msgsnd = 0, __ru_msgsnd_word = 0}, {ru_msgrcv = 0, 
    __ru_msgrcv_word = 0}, {ru_nsignals = 0, __ru_nsignals_word = 0}, {
    ru_nvcsw = 1229, __ru_nvcsw_word = 1229}, {ru_nivcsw = 1, 
    __ru_nivcsw_word = 1}}
(gdb) p post
$3 = {ru_utime = {tv_sec = 0, tv_usec = 21790}, ru_stime = {tv_sec = 0, 
    tv_usec = 30393}, {ru_maxrss = 103836, __ru_maxrss_word = 103836}, {
    ru_ixrss = 0, __ru_ixrss_word = 0}, {ru_idrss = 0, __ru_idrss_word = 0}, {
    ru_isrss = 0, __ru_isrss_word = 0}, {ru_minflt = 967, 
    __ru_minflt_word = 967}, {ru_majflt = 0, __ru_majflt_word = 0}, {
    ru_nswap = 0, __ru_nswap_word = 0}, {ru_inblock = 0, 
    __ru_inblock_word = 0}, {ru_oublock = 128, __ru_oublock_word = 128}, {
    ru_msgsnd = 0, __ru_msgsnd_word = 0}, {ru_msgrcv = 0, 
    __ru_msgrcv_word = 0}, {ru_nsignals = 0, __ru_nsignals_word = 0}, {
    ru_nvcsw = 1273, __ru_nvcsw_word = 1273}, {ru_nivcsw = 1, 
    __ru_nivcsw_word = 1}}


[Thu 14 Mar 2024 03:22:47 AM GMT] (4738/4749): grooming database
[Thu 14 Mar 2024 03:22:47 AM GMT] (4738/4749): database record counts:
[Thu 14 Mar 2024 03:22:47 AM GMT] (4738/4749): file d/e 0
[Thu 14 Mar 2024 03:22:47 AM GMT] (4738/4749): file s 0
[Thu 14 Mar 2024 03:22:47 AM GMT] (4738/4749): archive d/e 0
[Thu 14 Mar 2024 03:22:47 AM GMT] (4738/4749): archive sref 0
[Thu 14 Mar 2024 03:22:47 AM GMT] (4738/4749): archive sdef 0
[Thu 14 Mar 2024 03:22:47 AM GMT] (4738/4749): buildids 0
[Thu 14 Mar 2024 03:22:47 AM GMT] (4738/4749): filenames 0
[Thu 14 Mar 2024 03:22:47 AM GMT] (4738/4749): fileparts 0
[Thu 14 Mar 2024 03:22:47 AM GMT] (4738/4749): files scanned (#) 0
[Thu 14 Mar 2024 03:22:47 AM GMT] (4738/4749): files scanned (mb) 0
[Thu 14 Mar 2024 03:22:47 AM GMT] (4738/4749): index db size (mb) 21
[Thu 14 Mar 2024 03:22:47 AM GMT] (4738/4749): groomed database in 0.0129799s
```

Do you know where I can get a big .debuginfod.sqlite, so that I can measure the
performance on it?

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Elfutils-devel mailing list