re: NetBSD 10.0 - configure test process hang

matthew green <[email protected]>
Newsgroups gmane.os.netbsd.ports.sparc
Message-ID <[email protected]>
i wonder if this is KVA starvation.

i was just noticing that "pmap 0" on my ss20 is saying 209MB, and
while i forget exactly how that maps to the KVA limit of 224MB (some
of it may not be in the same region?), this seems close, and there is
a *lot* of free ram still, top says:

Memory: 156M Act, 9160K Inact, 9512K Wired, 7688K Exec, 136M File, 250M Free
Swap: 512M Total, 42M Used, 470M Free / Pools: 70M Used / Network: 5K In, 46K Out

anyway, a few years ago i was noticing that the system would hang a
bit under some types of load because of hitting the KVA limit, and
i wrote a patch to increase this by 128MB, though at that point my
ss20 stopped working right and i got distracted.

anyway, can you try this patch?

   https://www.netbsd.org/~mrg/sparc.starvation.v2.diff

it did get some decent testing a while ago, but i haven't yet booted
a new kernel with it now, though i have confirmed it builds.

it probably works for -10 branch too, as it was originaly worked on
before -10 actually branched.


.mrg.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.