Re: UVM behavior under memory pressure

2021-04-01 Thread Greg A. Woods
At Thu, 1 Apr 2021 23:15:42 +0200, Manuel Bouyer wrote: Subject: Re: UVM behavior under memory pressure > > Yes, I understand this. But, in an emergency situation like this one (there > is no free ram, swap is full, openscad eventually gets killed), > I would expect the pager to reclaim pages wher

Re: UVM behavior under memory pressure

2021-04-01 Thread Manuel Bouyer
On Thu, Apr 01, 2021 at 01:13:05PM -0700, Greg A. Woods wrote: > At Thu, 1 Apr 2021 21:03:37 +0200, Manuel Bouyer > wrote: > Subject: UVM behavior under memory pressure > > > > Of course the system is very slow > > Shouldn't UVM choose, in this case, to reclaim pages from the file cache > > for t

Re: UVM behavior under memory pressure

2021-04-01 Thread Greg A. Woods
At Thu, 1 Apr 2021 21:03:37 +0200, Manuel Bouyer wrote: Subject: UVM behavior under memory pressure > > Of course the system is very slow > Shouldn't UVM choose, in this case, to reclaim pages from the file cache > for the process data ? > I'm using the default vm.* sysctl values. I almost never

Re: UVM behavior under memory pressure

2021-04-01 Thread Mouse
> on a system running netbsd-9 from mid-august, I ended up in a state > where the system has little free memory, no free swap and almost 40% > of RAM used by the file cache: > Memory: 4987M Act, 2436M Inact, 123M Wired, 198M Exec, 2918M File, 4216K Free > Swap: 520M Total, 520M Used, 4K Free >

UVM behavior under memory pressure

2021-04-01 Thread Manuel Bouyer
hello on a system running netbsd-9 from mid-august, I ended up in a state where the system has little free memory, no free swap and almost 40% of RAM used by the file cache: load averages: 9.00, 5.02, 2.86; up 0+11:30:5620:57:39 97 processes: 2 runnable, 91 sleeping, 1 sto

Proposal draft [GSOC]

2021-04-01 Thread Piyush Sachdeva
To whomever it may concern,Please find attached the proposal for the project of extending the standard posix_spawn(3) to support chdir(2) in NetBSD. This is just a draft and I would like to hear from you, about all the improvisations that can be made.Hope to hear from you soon.Links to the proposal

GSoC 2021 Introduction

2021-04-01 Thread Khaled Emara
Hi, I'm Khaled from Egypt. I'm a computer engineering student. I'm interested in the userland PCI drivers project. I have implemented a simple PCI device in Verilog before. I have installed and built NetBSD. What is the contribution process? Is it through patches on the mailing list? Any advice o

Re: nothing contributing entropy in Xen domUs? or dom0!!!

2021-04-01 Thread RVP
On Wed, 31 Mar 2021, Greg A. Woods wrote: Yes I did change that as well (as /var isn't part of the root partition). I see. How did you change it? Because in 9.99 some things have changed: rndseed=/var/db/entropy-file on a line of its own no longer works. You have to attach it to a m

Re: nothing contributing entropy in Xen domUs? or dom0!!!

2021-04-01 Thread RVP
On Wed, 31 Mar 2021, Greg A. Woods wrote: collect and "estimate" _and_ despite the fact there's a valid-looking $random_file that was saved and reloaded by /etc/rc.d/random_seed (and saved again every day by /etc/security): # ls -l /etc/entropy-file -rw--- 1 root wheel 536 Mar 31 04:15 /

Re: nothing contributing entropy in Xen domUs? or dom0!!!

2021-04-01 Thread Manuel Bouyer
On Thu, Apr 01, 2021 at 04:13:59AM +, RVP wrote: > > [...] > > Does this /etc/entropy-file match what's there in your /boot.cfg? irrelevant for Xen, as Xen uses the multiboot protocol. -- Manuel Bouyer NetBSD: 26 ans d'experience feront toujours la difference --

Re: nothing contributing entropy in Xen domUs? (causing python3.7 rebuild to get stuck in kernel in "entropy" during an "import" statement)

2021-04-01 Thread Manuel Bouyer
On Wed, Mar 31, 2021 at 09:58:48PM -0400, Thor Lancelot Simon wrote: > On Wed, Mar 31, 2021 at 11:24:07AM +0200, Manuel Bouyer wrote: > > On Tue, Mar 30, 2021 at 10:42:53PM +, Taylor R Campbell wrote: > > > > > > There are no virtual RNG devices on the system in question, according > > > to th