<heat_>
re: the wait_all_objects thing on the nt patch, "When bWaitAll is TRUE, the function's wait operation is completed only when the states of all objects have been set to signaled. The function does not modify the states of the specified objects until the states of all objects have been set to signaled"
<heat_>
so sorting + waiting on everything doesn't work
<zid>
Is that part of the speedup?
<heat_>
shrug
<zid>
Like, not having to eat a signal for each completion, and instead only ending up with 1
<heat_>
i think they (are/were) using eventfds in wine, how that works idk
<childlikempress>
oh that reminds me i gave up on actual os dev but i was gonna make a thing for benchmarking stuff to kill scheduling noise and get easier access to perf counters and whatnot
<bslsk05>
google/benchmark - A microbenchmark support library (1577 forks/8200 stargazers/Apache-2.0)
<heat_>
literally saved some dozens of hours of your time
<childlikempress>
> library
<childlikempress>
how does this 'kill scheduling noise and get easier access to perf counters and whatnot'
<heat_>
it kills scheduling noise by doing it the bench N times and the duration = (time_delta) / N, supports fancy statistical analysis, and hardware performance counters
<zid>
It just runs a bunch of times and averages the noise :P
<childlikempress>
well yeah that's what you do usually
<childlikempress>
but--I don't remember now--I had some application where that wouldn't do what I want. I think I could've done it with rseq
<childlikempress>
but other than that
<heat_>
rseq would stop preemption from getting in the way, but it wouldn't stop the side effects of preemption, if they end up happening
<heat_>
say you schedule out and your process' TLB gets dropped
<heat_>
or your caches go bye bye
<childlikempress>
i can drop results from around when I got scheduled out
<childlikempress>
i think i wanted to look at cache coherency protocol interactions or something
<childlikempress>
like fairness properties in case of contention
<childlikempress>
so i do actually wanna know the worst cases. but the actual worst cases, not the kernel-scheduled-me-out worst cases
<heat_>
oh so you want to do it in the kernel?
<childlikempress>
yeah basically. 'unikernel' i think it's called?--no preemption or scheduling, just some special-case benchmark code running on each core
<childlikempress>
(though I mean, having process separation and being able to turn off preemption would also work. just more effort)
<bslsk05>
andreas-abel/nanoBench - A tool for running small microbenchmarks on recent Intel and AMD x86 CPUs. (53 forks/402 stargazers/AGPL-3.0)
<childlikempress>
:p
gog has quit [Ping timeout: 255 seconds]
<heat_>
> Linux-based
<heat_>
boring
<childlikempress>
my point exactly!
goliath has quit [Quit: SIGSEGV]
eddof13 has joined #osdev
eddof13 has quit [Client Quit]
netbsduser` has joined #osdev
netbsduser` has quit [Ping timeout: 264 seconds]
pretty_dumm_guy has quit [Quit: WeeChat 3.5]
pretty_dumm_guy has joined #osdev
pretty_dumm_guy has quit [Quit: WeeChat 3.5]
netbsduser` has joined #osdev
netbsduser` has quit [Ping timeout: 264 seconds]
heat_ has quit [Ping timeout: 256 seconds]
<adder>
Correct my understanding: The kernel only needs to set up its page tables according to architecture's specifications (like, put the table location in CR3), and then the CPU, MMU, and TLB handle the rest of it automatically by means of using various bits of the address for indexing into the table?
<adder>
Obviously I don't mean that page faults are handled automatically. :)
ramenu_ has quit [Ping timeout: 255 seconds]
ramenu_ has joined #osdev
CutieMelo has quit [Remote host closed the connection]
lentement has quit [Remote host closed the connection]
pg12 has quit [Remote host closed the connection]
pg12 has joined #osdev
<geist>
adder: basically
<adder>
Thanks, geist.
<geist>
that's the overall gist. there are details, and there are times when yo uneed to resynchronize things, but for the most part software maintains the tables, and hardware consults the tables to do translation automatically
gxt has joined #osdev
GeDaMo has joined #osdev
gxt_ has joined #osdev
gxt has quit [Remote host closed the connection]
zetef has joined #osdev
lentement has joined #osdev
lentement has quit [Ping timeout: 264 seconds]
gbowne1 has quit [Quit: Leaving]
Gurkenglas has joined #osdev
gxt_ has quit [Remote host closed the connection]
gxt_ has joined #osdev
Nixkernal has joined #osdev
theruran has quit [Quit: Connection closed for inactivity]
TkTech0 has joined #osdev
TkTech has quit [Ping timeout: 268 seconds]
TkTech0 is now known as TkTech
flom84 has joined #osdev
flom84 has quit [Remote host closed the connection]
vdamewood has joined #osdev
Vocelia has joined #osdev
flom84 has joined #osdev
flom84 has quit [Remote host closed the connection]
<zid>
Starter base -> new base production difference
<zid>
Need to wait for all the buffers to level out and see what production is actually lagging, in about 5 hours
<zid>
Given a train has 320,000 science in it
<zid>
it may take a while to go steadystate
eddof13 has quit [Quit: eddof13]
<nikolapdp>
heh yeah
<nikolapdp>
that's a massive jump
CryptoDavid has quit [Quit: Connection closed for inactivity]
Ellenor has joined #osdev
Arthuria has quit [Killed (NickServ (GHOST command used by Guest684531))]
Arthuria has joined #osdev
gxt_ has quit [Remote host closed the connection]
gildasio has quit [Remote host closed the connection]
gxt_ has joined #osdev
gildasio has joined #osdev
eddof13 has joined #osdev
eddof13 has quit [Quit: eddof13]
Arthuria has quit [Ping timeout: 256 seconds]
gbowne1 has joined #osdev
pogspawn is now known as gog
<zid>
Good news, I am incredibly LDS starved
eddof13 has joined #osdev
<sham1>
I first read that as "LSD starved"
<zid>
That too
<nortti>
you need more mormons?
<zid>
Not that kind of LDS
<nikolapdp>
low density structures
nur has quit [Remote host closed the connection]
<gog>
i'm watching the expanse, it has space mormons
<gog>
it's also not the only piece of sci-fi media that has space mormons
<gog>
which is funny
<nikolapdp>
Wow! If I had a nickel for every time I see a show with space mormons, I'd have two nickels. Which isn't a lot, but it's weird that it happened twice. Right
<nikolapdp>
^ gog right now
<gog>
yes
<zid>
Apparently that's from a cartoon called penis and ferb
<gog>
phineas
<nikolapdp>
kek
<gog>
and pherb
<zid>
furby?
<nikolapdp>
yeah i didn't know either
<gog>
fineas and pherb
<gog>
it's a funny cartoon
<gog>
i enjoyed it
<zid>
I literally tabbed back here from reddit
<nikolapdp>
welcome back zid
<zid>
from a post called "did you know that this thing is from a cartoon"
<nikolapdp>
kek
<zid>
did you also see that post and it infected you nikolapdp
<nikolapdp>
no actually
Cindy has quit [Ping timeout: 260 seconds]
Cindy has joined #osdev
<gog>
starship troopers
<gog>
that was the other one
<zid>
I am starship troopers
<childlikempress>
starship troopers is good but I have bad associations with it because I was shown it under conditions of extreme duress
<zid>
story time
<zid>
nikolapdp: I need more plaastic :(
<nikolapdp>
zid: more oil!!!
eddof13 has quit [Quit: eddof13]
<zid>
yea need to builda bunch of pumpjacks and stuff first, those are not automatic and I won't be taking them inside bot range anyway
<zid>
then I can do a factory setup, then I can add more plastic production.. sigh
<nikolapdp>
at least it's not hard to connect them to the automated part of the base manually
<zid>
fuck oil
<zid>
oil is the worst
<nikolapdp>
heh
eddof13 has joined #osdev
pretty_dumm_guy has quit [Quit: WeeChat 3.5]
Gurkenglas has quit [Ping timeout: 250 seconds]
eddof13 has quit [Quit: eddof13]
<gog>
hi
ramenu__ has quit [Ping timeout: 264 seconds]
Left_Turn has quit [Read error: Connection reset by peer]