-
rwp
dch, Back in the day on HP-UX, IBM AIX, Solaris, the ps namespace was global and every user could see all of the process slot information or all processes.
-
BraveheartBSD
Are Broadcom nics (bge) a sore point for FreeBSD users?
-
kevans
I think bge's generally not bad
-
kevans
broadcom wifi is rougher
-
BraveheartBSD
Ok. I have an older server, still works well, and the nic's are just ordinary. lose connection, or drop IPv4 for no reason. all 4 of them.
-
BraveheartBSD
I've tried loading driver on boot using loader.conf, doesnt seem to help any.
-
Demosthenex
i'm so confused. my vmstat says i'm using 500G of ram?
-
Demosthenex
-
Demosthenex
i have 32G ram, 8G swap. i count 5 GB in tmpfs, and 14GB in major app procs. i should be 19GB/32G used, that's over half.
-
Demosthenex
btop says memory is 8% used
-
JSHenry
Demosthenex: Looks like avm includes all virtual memory used, whether it's got actual pages swapped in or not. So something as simple as malloc(10U * 1024 * 1024 * 1024) will not actually allocate memory immediately, but will take up virtual address space, and look like 10G are used.
-
JSHenry
Which means the 500G you see is overcommitted, and doesn't reflect reality; unless all programs "cash in" their memory at the same time, the system won't try to actually _use_ that memory.
-
Demosthenex
JSHenry: interesting. i'm just trying to find something that's closer to my manual calculation
-
Demosthenex
was trying to determine how much i had to spare, to bump up the 14G apps
-
Demosthenex
still can't get over btop says 92% free
-
JSHenry
So, I'm no expert on this at all; but are you sure that 14GB is accurate? At the very least shared libraries are going to make it a bit difficult to gauge exact memory usage, and how much of that 14GB is swapped out/not-yet-written-to?
-
JSHenry
Just for the sake of illustration, a C program that does this: "mmap(NULL, 100UL * 1024 * 1024 * 1024, PROT_READ | PROT_WRITE, MAP_ANON | MAP_PRIVATE, -1, 0)" looks like it takes up 100GB in top's output. But my VM only has 1GB allocated, so there's no way it's actually _using_ 100GB right now.
-
Demosthenex
JSHenry: its java, so i tell it the max memory usage. -XmX 7G
-
Demosthenex
so, here's an example, though it reads like line noise
dpaste.org/hcEv0/raw
-
Demosthenex
the max RSS is 6.3G which sounds right
-
Demosthenex
the other major one is 4.5G RSS. to 9.8G java, 5G tmpfs = roughly 16G used. of 32G ram.
-
Demosthenex
that's still half :P
-
Demosthenex
the tmpfs work area is capped at 16G, 5G used atm
-
JSHenry
Sorry, no ideas there; I don't know how btop calculates memory usage, so I'm not sure why it would disagree with what you're seeing elsewhere.
-
Demosthenex
-
Demosthenex
and... despite being fluent in aix and linux, i can't get 50% out of anything there