klange changed the topic of #osdev to: Operating System Development || Don't ask to ask---just ask! || For 3+ LoC, use a pastebin (for example https://gist.github.com/) || Stats + Old logs: http://osdev-logs.qzx.com New Logs: https://libera.irclog.whitequark.org/osdev || Visit https://wiki.osdev.org and https://forum.osdev.org || Books: https://wiki.osdev.org/Books
netbsduser has quit [Ping timeout: 252 seconds]
innegatives has quit [Quit: Connection closed for inactivity]
tomaw has quit [Quit: Quitting]
tomaw has joined #osdev
jedesa has quit [Remote host closed the connection]
edr has quit [Quit: Leaving]
arminweigl_ has joined #osdev
arminweigl has quit [Ping timeout: 252 seconds]
arminweigl_ is now known as arminweigl
jcea has quit [Ping timeout: 272 seconds]
agent314 has joined #osdev
rorx has quit [Ping timeout: 260 seconds]
PublicWiFi has quit [Ping timeout: 268 seconds]
PublicWiFi has joined #osdev
rorx has joined #osdev
agent314 has quit [Ping timeout: 272 seconds]
Jari-- has joined #osdev
roshan_ has joined #osdev
agent314 has joined #osdev
goliath has joined #osdev
daax has joined #osdev
daax has quit [Client Quit]
frkazoid333 has quit [Read error: Connection reset by peer]
Lucretia has joined #osdev
Teukka has quit [Read error: Connection reset by peer]
Teukka has joined #osdev
GeDaMo has joined #osdev
stolen has joined #osdev
roshan_ has quit [Ping timeout: 276 seconds]
Jari-- has quit [Ping timeout: 252 seconds]
Yoofie6464463823 has joined #osdev
netbsduser has joined #osdev
guideX has quit [Read error: Connection reset by peer]
stolen has quit [Quit: Connection closed for inactivity]
night has quit [Ping timeout: 260 seconds]
night has joined #osdev
guideX has joined #osdev
vdamewood has joined #osdev
innegatives has joined #osdev
immibis is now known as goerj
jcea has joined #osdev
edr has joined #osdev
agent314 has quit [Ping timeout: 248 seconds]
innegatives has quit [Quit: Connection closed for inactivity]
agent314 has joined #osdev
dzwdz has quit [Quit: WeeChat 3.8]
innegatives has joined #osdev
<agent314> hello. i have suggestions for osdev.org/books
<bslsk05> ​osdev.org: 404 Not Found
<agent314> xv6 for riscv book, built aug 2024 https://pdos.csail.mit.edu/6.828/2024/xv6/book-riscv-rev4.pdf book source code here https://github.com/mit-pdos/xv6-riscv-book
<bslsk05> ​mit-pdos/xv6-riscv-book - Text describing xv6 on RISC-V (169 forks/740 stargazers/NOASSERTION)
frkazoid333 has joined #osdev
<agent314> and then there's the most amazing "Operating System in 1000 Lines" https://operating-system-in-1000-lines.vercel.app/en/ which i am currently somewhere around chapter 10-11ish and i freaking love it
xvmt has joined #osdev
xvmt has quit [Remote host closed the connection]
Left_Turn has joined #osdev
<agent314> i also absolutely <3 https://wiki.osdev.org/Resources this amazing job
<bslsk05> ​wiki.osdev.org: Resources - OSDev Wiki
xvmt has joined #osdev
goliath has quit [Quit: SIGSEGV]
tronexte has quit [Ping timeout: 265 seconds]
tronexte has joined #osdev
Turn_Left has joined #osdev
Left_Turn has quit [Ping timeout: 260 seconds]
guideX has quit [Read error: Connection reset by peer]
Turn_Left has quit [Remote host closed the connection]
Turn_Left has joined #osdev
steelswords94361 has quit [Read error: Connection reset by peer]
getz has quit [Quit: metastasizing...]
getz has joined #osdev
goliath has joined #osdev
jcea has quit [Ping timeout: 276 seconds]
Left_Turn has joined #osdev
Turn_Left has quit [Ping timeout: 265 seconds]
Turn_Left has joined #osdev
Left_Turn has quit [Ping timeout: 244 seconds]
dude12312414 has joined #osdev
tjf has quit [Quit: l8r]
tjf has joined #osdev
carbonfiber has joined #osdev
guideX has joined #osdev
netbsduser has quit [Read error: Connection reset by peer]
cross has quit [Remote host closed the connection]
kata has joined #osdev
kata has quit [Client Quit]
kata has joined #osdev
kata has quit [Remote host closed the connection]
kata has joined #osdev
GeDaMo has quit [Quit: 0wt 0f v0w3ls.]
<geist> sure. you should be able to create an account and edit it
<geist> we dont really run osdev.org here, just tends to be associated with it
kata has quit [Client Quit]
kata has joined #osdev
nur has quit [Quit: Leaving]
<_Heat> i'm 0.5s away from linux on a make -j16
<_Heat> though i'm on a VM vs bare hardware
<_Heat> is this a win? I think it's a win
<geist> you believe what you need to believe
<_Heat> i believe this is good yeah
<_Heat> at this scale you start to see LRU scaling problems and page cache scaling problems
<geist> yah
<geist> how many cores are you running in this case?
<geist> since yo have a VM it's 'fun' to start adding cores to your guest and then see where it starts to badly scale
<_Heat> 16 qemu cores
<_Heat> but only ~12 of them are real
<geist> ah yeah, running more than the host has is probably not good
<_Heat> i technically have 24 threads but yeah
<_Heat> if i had gone for the 9950X i would have 16 cores 32 threads, which i slightly regret
<_Heat> (not going for)
<_Heat> so i added LRU batching and removed the page cache spinlock, because it really wasn't needed there
<_Heat> LRU batching is a huge complication on top of what I had, but it is what it is
<_Heat> i also found a stupid problem in my scheduler where, while scheduling a thread for the first time, i never actually tried to IPI the core for a resched
<_Heat> which made my 3s builds into 40
<_Heat> because scheduling a job had to wait for a full idle thread quota (~10ms)
<geist> oh yeah that'll do it
<_Heat> then just a lot of TLB IPI + LRU batching got me down to 2.3, linux on bare metal does 1.9
<_Heat> but this is decent
<_Heat> i was expecting more dcache contention from a build, but i guess not
<geist> you should test linux in the same qemu environment to be fair
<geist> though depending on how much assist you're utilizing from the KVM bits you might see differences there
<geist> iirc one of the more modern KVM feature sets that you can access is some sort of TLB shootdown assist via vmcalls
<_Heat> yeah I'm not
<_Heat> testing linux under QEMU would only give me an advantage
<_Heat> (well I assume they use all fancy KVM features, so maybe not)
<geist> right that's what i mean
carbonfiber has quit [Quit: Connection closed for inactivity]
<_Heat> hmm, doesn't seem like there's a TLB shoodown assist
<_Heat> or at least it's not documented
<bslsk05> ​docs.kernel.org: Linux KVM Hypercall — The Linux Kernel documentation
<_Heat> there's an IPI assist
<_Heat> KVM_HC_MMU_OP is there, but it's deprecated
<_Heat> not implemented on modern linux even
<geist> oh it's the IPI assist, yeah
kata has quit [Read error: Connection reset by peer]
kata has joined #osdev
goliath has quit [Quit: SIGSEGV]
Left_Turn has joined #osdev
Turn_Left has quit [Ping timeout: 265 seconds]
Lucretia has quit [Remote host closed the connection]
Left_Turn has quit [Read error: Connection reset by peer]
kpel has joined #osdev
kpel has quit [Quit: .]
<PublicWiFi> man I think the VFS has been the hardest thing to mentally visualize on this whole project