re: pegasosII hung with new kernel - page daemon spinning
matthew green <[email protected]> Sun, 23 Sep 2012 09:27:19 +1000
| Newsgroups | gmane.os.netbsd.devel.kernel,gmane.os.netbsd.ports.ofppc |
|---|---|
| Message-ID | <[email protected]> |
> On 09/23/2012 12:51 AM, matthew green wrote: > > with some help from chuq@ we've narrowed this down to the > > kmem_arena being under 10% empty: > > > > db> call uvm_km_va_starved_p 1 > > > > which keeps the main loop from sleeping. but why this is full and > > not being fixed by the page daemon isn't a mystery. > > > > > > .mrg. > > > > That's interessting what size does the arena have on the system with > 512mb? Probably limited by NKMEMPAGES_MAX_DEFAULT, so it might need to > be larger on those. looks like: arch/powerpc/include/param.h:113:#define NKMEMPAGES_MAX_DEFAULT ((128 * 1024 * 1024) >> PAGE_SHIFT) is in action here. ddb tells me: db> call vmem_size(*kmem_arena, 3) # VMEM_FREE|VMEM_ALLOC 8000000 # 128MB db> call vmem_size(*kmem_arena, 2) # VMEM_FREE cc1000 what do you suggest? increasing NKMEMPAGES_MAX_DEFAULT? .mrg.