emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#46881: closed (28.0.50; pdumper dumping causes way too many syscalls


From: GNU bug Tracking System
Subject: bug#46881: closed (28.0.50; pdumper dumping causes way too many syscalls)
Date: Wed, 16 Jun 2021 08:01:01 +0000

Your message dated Wed, 16 Jun 2021 10:00:27 +0200
with message-id <ECC6C1F3-17B8-4056-85FB-A9B97B6B2E5E@acm.org>
and subject line Re: bug#46881: 28.0.50; pdumper dumping causes way too many 
syscalls
has caused the debbugs.gnu.org bug report #46881,
regarding 28.0.50; pdumper dumping causes way too many syscalls
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
46881: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=46881
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: 28.0.50; pdumper dumping causes way too many syscalls Date: Tue, 2 Mar 2021 20:33:42 +0000
Playing around with the WebAssembly port, I noticed that pdumper, in
creating the dump file, makes way too many syscalls: it uses
emacs_write(), not fwrite(), so these calls translate to actual
syscalls and context switches. On immature systems (or in special
circumstances like a device mounted synchronously), they might
actually cause a hardware write for each syscall, which would wear out
flash quickly and be generally wasteful.

I've looked into the problem, and it seems easy to solve and worth it
in terms of debuggability and performance.

Patch will be attached once this has a bug number.



--- End Message ---
--- Begin Message --- Subject: Re: bug#46881: 28.0.50; pdumper dumping causes way too many syscalls Date: Wed, 16 Jun 2021 10:00:27 +0200
16 juni 2021 kl. 00.44 skrev Daniel Colascione <dancol@dancol.org>:

> Okay. I'm convinced.

All right, pushed, and closing this bug.
Thanks, Pip!



--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]