From: Ihor Radchenko <yantar92@posteo.net>
To: Eli Zaretskii <eliz@gnu.org>
Cc: arne_bab@web.de, spacibba@aol.com, emacs-devel@gnu.org
Subject: Re: Indentation and gc
Date: Mon, 13 Mar 2023 18:04:43 +0000 [thread overview]
Message-ID: <87r0tsy1c4.fsf@localhost> (raw)
In-Reply-To: <831qlstwoi.fsf@gnu.org>
Eli Zaretskii <eliz@gnu.org> writes:
>> Feel free to share the ideas on what else we could record there.
>
> I think we should start with that and add stuff as we go if needed.
I am not sure.
The package will require users to share the data manually.
Asking for such activity more than once will generate less replies than
a single ask.
So, I'd prefer to carefully discuss first what exactly we want to know
to decide about changing the thresholds.
>> I mean the following output for "top" bash command
>>
>> PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
>> 31838 yantar92 20 0 1843744 800648 121684 S 0.3 5.0 1:12.48 emacs
>>
>> VIRT is virtual memory and RES (or %MEM) is actually used.
>
> Ah, you mean RES. That's the "resident" part of the memory, i.e. what
> the OS decided to keep in physical memory at this point; the rest is
> swapped out. Basically, RES is not interesting, only the total
> virtual memory of the process (VIRT) is, because that's what is
> counted towards the total VM of the system. Although the complication
> is that VIRT also includes the so-called "reserved" memory, which is
> not necessarily in-use yet.
This is a bit confusing then. From my experience, RES is often closer to
the memory-report results.
Moreover, VIRT can exceed Memory + Swap combined.
For example, emacs -Q gives
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
28887 yantar92 20 0 187964 76440 46816 S 0.0 0.5 0:00.90 emacs
2234 yantar92 20 0 28.2g 686492 138972 S 0.0 4.3 29:45.66 QtWebEngineProc
(also, note VIRT for QtWebEngineProc, while I only have Mem 2.7GiB used
+ Swap 4.2GiB used).
Estimated Emacs Memory Usage
3.2 MiB Overall Object Memory Usage
2.2 MiB Memory Used By Global Variables
1.3 MiB Memory Used By Symbol Plists
370 KiB Reserved (But Unused) Object Memory
66 KiB Total Image Cache Size
21 KiB Total Buffer Memory Usage
Object Storage
1.9 MiB Vectors
598 KiB Conses
492 KiB Strings
189 KiB Symbols
6.7 KiB Buffer-Objects
2.8 KiB Intervals
160 B Floats
Largest Buffers
11 KiB *scratch*
3.2 KiB *Messages*
2.4 KiB *Echo Area 1*
1.7 KiB *Minibuf-1*
1.3 KiB *Memory Report*
1.2 KiB *Minibuf-0*
170 B *Echo Area 0*
Largest Variables
273 KiB load-history
236 KiB obarray
156 KiB definition-prefixes
93 KiB global-map
80 KiB coding-system-alist
71 KiB input-method-alist
64 KiB color-name-rgb-alist
59 KiB language-info-alist
47 KiB face--new-frame-defaults
46 KiB easy-menu-converted-items-table
42 KiB key-translation-map
42 KiB x-colors
40 KiB comp-known-type-specifiers
38 KiB menu-bar-options-menu
34 KiB comp-known-func-cstr-h
31 KiB comp-loaded-comp-units-h
25 KiB comp-eln-to-el-h
22 KiB iso-transl-char-map
21 KiB comp-subr-list
20 KiB auto-mode-alist
--
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>
next prev parent reply other threads:[~2023-03-13 18:04 UTC|newest]
Thread overview: 99+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20230310110747.4hytasakomvdyf7i.ref@Ergus>
2023-03-10 11:07 ` Indentation and gc Ergus
2023-03-10 14:36 ` Dr. Arne Babenhauserheide
2023-03-10 14:54 ` Eli Zaretskii
2023-03-10 19:23 ` Dr. Arne Babenhauserheide
2023-03-11 6:38 ` Eli Zaretskii
2023-03-11 6:55 ` Dr. Arne Babenhauserheide
2023-03-11 7:56 ` Eli Zaretskii
2023-03-11 12:34 ` Dr. Arne Babenhauserheide
2023-03-11 13:08 ` Eli Zaretskii
2023-03-11 13:31 ` Ihor Radchenko
2023-03-11 13:44 ` Eli Zaretskii
2023-03-11 13:53 ` Ihor Radchenko
2023-03-11 14:09 ` Eli Zaretskii
2023-03-12 14:20 ` Ihor Radchenko
2023-03-12 14:40 ` Eli Zaretskii
2023-03-12 15:04 ` Ihor Radchenko
2023-03-12 15:26 ` Eli Zaretskii
2023-03-13 15:09 ` Ihor Radchenko
2023-03-13 15:37 ` Eli Zaretskii
2023-03-13 15:45 ` Ihor Radchenko
2023-03-13 16:58 ` Eli Zaretskii
2023-03-13 18:04 ` Ihor Radchenko [this message]
2023-03-14 12:19 ` Eli Zaretskii
2023-03-15 10:28 ` Ihor Radchenko
2023-03-15 12:54 ` Eli Zaretskii
2023-03-15 12:59 ` Ihor Radchenko
2023-03-15 14:20 ` Eli Zaretskii
2023-03-16 10:27 ` Ihor Radchenko
2023-04-06 9:13 ` Ihor Radchenko
2023-04-08 8:04 ` Eli Zaretskii
2023-04-08 8:15 ` Ihor Radchenko
2023-04-08 10:03 ` Eli Zaretskii
2023-04-14 17:07 ` Ihor Radchenko
2023-04-14 17:56 ` Eli Zaretskii
2023-03-13 18:14 ` Gregor Zattler
2023-03-14 12:30 ` Eli Zaretskii
2023-03-14 15:19 ` Gregor Zattler
2023-03-11 16:19 ` Dr. Arne Babenhauserheide
2023-03-12 13:27 ` Ihor Radchenko
2023-03-12 14:10 ` Eli Zaretskii
2023-03-12 14:50 ` Ihor Radchenko
2023-03-12 15:13 ` Eli Zaretskii
2023-03-12 17:15 ` Gregor Zattler
2023-03-12 20:07 ` Eli Zaretskii
2023-03-13 15:01 ` Ihor Radchenko
2023-03-13 15:33 ` Eli Zaretskii
2023-03-13 15:39 ` Ihor Radchenko
2023-03-13 15:39 ` Eli Zaretskii
2023-03-13 16:04 ` Ihor Radchenko
2023-03-13 16:52 ` Eli Zaretskii
2023-03-14 12:47 ` Ihor Radchenko
2023-03-14 13:09 ` Eli Zaretskii
2023-03-15 10:29 ` Ihor Radchenko
2023-03-13 15:41 ` Eli Zaretskii
2023-03-14 13:01 ` Ihor Radchenko
2023-03-11 10:54 ` Ihor Radchenko
2023-03-11 11:17 ` Ergus
2023-03-11 11:23 ` Ihor Radchenko
2023-03-11 12:31 ` Eli Zaretskii
2023-03-11 12:39 ` Ihor Radchenko
2023-03-11 12:40 ` Eli Zaretskii
2023-03-11 12:54 ` Ihor Radchenko
2023-03-11 13:01 ` Dr. Arne Babenhauserheide
2023-03-11 13:14 ` Eli Zaretskii
2023-03-11 13:38 ` Ihor Radchenko
2023-03-11 13:46 ` Eli Zaretskii
2023-03-11 13:54 ` Ihor Radchenko
2023-03-11 14:11 ` Eli Zaretskii
2023-03-11 14:18 ` Ihor Radchenko
2023-03-11 14:20 ` Eli Zaretskii
2023-03-11 14:31 ` Ihor Radchenko
2023-03-11 15:32 ` Eli Zaretskii
2023-03-11 15:52 ` Lynn Winebarger
2023-03-11 16:24 ` Eli Zaretskii
2023-03-11 17:10 ` Gregor Zattler
2023-03-11 17:25 ` Eli Zaretskii
2023-03-11 18:35 ` Gregor Zattler
2023-03-11 18:49 ` Eli Zaretskii
2023-03-13 12:45 ` Ihor Radchenko
2023-03-13 12:51 ` Eli Zaretskii
2023-06-14 14:16 ` Ihor Radchenko
2023-06-14 15:36 ` Eli Zaretskii
2023-06-14 15:58 ` Ihor Radchenko
2023-06-14 16:07 ` Eli Zaretskii
2023-06-16 10:00 ` Ihor Radchenko
2023-06-16 10:33 ` Eli Zaretskii
2023-06-16 11:03 ` Ihor Radchenko
2023-06-16 11:34 ` Eli Zaretskii
2023-06-21 10:37 ` Ihor Radchenko
2023-06-21 11:11 ` Eli Zaretskii
2023-03-11 13:00 ` Po Lu
2023-03-11 12:37 ` Eli Zaretskii
2023-03-11 13:10 ` Ihor Radchenko
2023-03-11 13:38 ` Eli Zaretskii
2023-03-10 14:52 ` Eli Zaretskii
2023-03-10 21:30 ` Ergus
2023-03-11 6:52 ` Eli Zaretskii
2023-03-21 7:11 ` Jean Louis
2023-03-21 7:27 ` Emanuel Berg
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87r0tsy1c4.fsf@localhost \
--to=yantar92@posteo.net \
--cc=arne_bab@web.de \
--cc=eliz@gnu.org \
--cc=emacs-devel@gnu.org \
--cc=spacibba@aol.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).