9front - general discussion about 9front
 help / color / mirror / Atom feed
From: cinap_lenrek@felloff.net
To: 9front@9front.org
Subject: Re: [9front] [PATCH] kernel: make conf.nproc configurable. all kernels now default to 100 + ((conf.npage*BY2PG)/MB)*5
Date: Mon, 14 Jun 2021 19:18:16 +0200
Message-ID: <7113E70C01D7084972602F13901ED0EF@felloff.net> (raw)
In-Reply-To: <3B7CD4D57FAF1705F3A5E6363CAADE67@eigenstate.org>

also just increasing nproc will have performance degradation in
some places. the kernel in some places will just iterate over
all process slots for some queries, like sending to a note
group or finding the processes that use a segment.

if that stucrure could be more dynamic we might not even need
to have such low nproc defaults. but it is here because keeping
it small keeps these operations fast.

there are also limiting factors like that we need to allocate
KSTACK bytes of memory for each process. and buffers when they
do i/o... which might be more limited by kernel KZERO address


      reply	other threads:[~2021-06-14 17:24 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-07  9:01 james palmer
2021-06-14  1:55 ` ori
2021-06-14 17:18   ` cinap_lenrek [this message]

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:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7113E70C01D7084972602F13901ED0EF@felloff.net \
    --to=cinap_lenrek@felloff.net \
    --cc=9front@9front.org \


* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

9front - general discussion about 9front

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://inbox.vuxu.org/9front

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V1 9front 9front/ http://inbox.vuxu.org/9front \
	public-inbox-index 9front

Example config snippet for mirrors.
Newsgroup available over NNTP:

AGPL code for this site: git clone https://public-inbox.org/public-inbox.git