From: HaiJun Zhang <netjune@outlook.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: rpluim@gmail.com, monnier@iro.umontreal.ca, emacs-devel@gnu.org
Subject: Re: Is it possible to change the recv buffer size dynamically for network process or subprocess?
Date: Sun, 29 Mar 2020 09:44:41 +0800 [thread overview]
Message-ID: <PS1PR03MB36069FB86B6222F4B8E52601B7CA0@PS1PR03MB3606.apcprd03.prod.outlook.com> (raw)
In-Reply-To: <838sjn9o5f.fsf@gnu.org>
[-- Attachment #1: Type: text/plain, Size: 936 bytes --]
For example, when I run find or grep in a directory with plenty of files, the output of the subprocess may continue for 1 minute, while I can’t stop it.
在 2020年3月26日 +0800 PM10:38,Eli Zaretskii <eliz@gnu.org>,写道:
> > Date: Thu, 26 Mar 2020 21:43:31 +0800
> > From: HaiJun Zhang <netjune@outlook.com>
> > Cc: monnier@iro.umontreal.ca, rpluim@gmail.com, emacs-devel@gnu.org
> >
> > If too many data arrives, emacs may be unresponsive.
> >
> > Unresponsive due to what processing? Are you saying that just
> > _receiving_ the data takes most of the time? I think what takes most
> > of the time is the processing by the filter function, in which case
> > making the filter function process just the few first characters will
> > do.
> >
> > Yes. I want to block the sender for some time. It is like to limit the bandwidth to 500KB/s or 10 packets/s.
>
> I don't see how this will help anything, sorry.
[-- Attachment #2: Type: text/html, Size: 1513 bytes --]
next prev parent reply other threads:[~2020-03-29 1:44 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1de1c276-1bda-4ada-b3f4-7adaee296628@Spark>
2020-03-21 3:01 ` Is it possible to change the recv buffer size dynamically for network process or subprocess? HaiJun Zhang
2020-03-21 12:10 ` Robert Pluim
2020-03-22 1:26 ` HaiJun Zhang
2020-03-22 15:12 ` Robert Pluim
2020-03-22 17:00 ` Eli Zaretskii
2020-03-24 4:33 ` HaiJun Zhang
2020-03-22 18:13 ` Stefan Monnier
2020-03-24 4:30 ` HaiJun Zhang
2020-03-24 14:01 ` Eli Zaretskii
2020-03-26 13:43 ` HaiJun Zhang
2020-03-26 14:38 ` Eli Zaretskii
2020-03-29 1:44 ` HaiJun Zhang [this message]
2020-03-29 2:38 ` Eli Zaretskii
2020-04-04 12:17 ` HaiJun Zhang
2020-04-04 12:55 ` Eli Zaretskii
2020-04-24 18:43 ` yyoncho
2020-03-30 3:37 ` Richard Stallman
2020-03-26 16:14 ` Stefan Monnier
2020-03-26 17:02 ` Noam Postavsky
2020-03-26 17:34 ` Stefan Monnier
2020-03-29 1:41 ` HaiJun Zhang
2020-03-24 14:19 ` Stefan Monnier
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=PS1PR03MB36069FB86B6222F4B8E52601B7CA0@PS1PR03MB3606.apcprd03.prod.outlook.com \
--to=netjune@outlook.com \
--cc=eliz@gnu.org \
--cc=emacs-devel@gnu.org \
--cc=monnier@iro.umontreal.ca \
--cc=rpluim@gmail.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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.