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
rpnx has quit [*.net *.split]
rwb has quit [*.net *.split]
gorgonical has quit [*.net *.split]
rustyy has quit [*.net *.split]
valshaped7424880 has quit [*.net *.split]
PublicWiFi has quit [*.net *.split]
k0valski1889162 has quit [*.net *.split]
ptrc has quit [*.net *.split]
nj0rd has quit [*.net *.split]
SophiaNya has quit [*.net *.split]
bslsk05 has quit [*.net *.split]
kanzure has quit [*.net *.split]
puck has quit [*.net *.split]
enyc has quit [*.net *.split]
froggey has quit [*.net *.split]
merry has quit [*.net *.split]
MiningMarsh has quit [*.net *.split]
colona has quit [*.net *.split]
clever has quit [*.net *.split]
JerryXiao has quit [*.net *.split]
wereii has quit [*.net *.split]
sham1 has quit [*.net *.split]
Luci-ghoule has quit [*.net *.split]
rwb has joined #osdev
froggey has joined #osdev
kanzure has joined #osdev
MiningMarsh has joined #osdev
merry has joined #osdev
wereii has joined #osdev
sham1 has joined #osdev
SophiaNya has joined #osdev
valshaped7424880 has joined #osdev
clever has joined #osdev
ptrc has joined #osdev
enyc has joined #osdev
rustyy has joined #osdev
colona has joined #osdev
Luci-ghoule has joined #osdev
JerryXiao has joined #osdev
Luci-ghoule is now known as FireFly
FireFly has quit [Remote host closed the connection]
FireFly has joined #osdev
Burgundy has quit [Ping timeout: 246 seconds]
gildasio has quit [Remote host closed the connection]
gildasio has joined #osdev
bauen1 has joined #osdev
agent314 has quit [Ping timeout: 272 seconds]
gbowne1 has quit [Quit: Leaving]
gildasio has quit [Remote host closed the connection]
gildasio has joined #osdev
netbsduser has quit [Ping timeout: 260 seconds]
goliath has quit [Quit: SIGSEGV]
simpl_e has joined #osdev
edr has quit [Quit: Leaving]
stolen has joined #osdev
skipwich has quit [Quit: DISCONNECT]
skipwich has joined #osdev
zetef has joined #osdev
gorgonical has joined #osdev
heat has quit [Ping timeout: 240 seconds]
zetef has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
zetef has joined #osdev
zetef has quit [Remote host closed the connection]
terrorjack has quit [Quit: The Lounge - https://thelounge.chat]
terrorjack has joined #osdev
pretty_dumm_guy has quit [Quit: WeeChat 3.5]
Yoofie has quit [Ping timeout: 240 seconds]
Yoofie2 has joined #osdev
rustyy has quit [Quit: leaving]
agent314 has joined #osdev
asarandi has joined #osdev
Burgundy has joined #osdev
k0valski1889162 has joined #osdev
[itchyjunk] has quit [Remote host closed the connection]
xenos1984 has quit [Read error: Connection reset by peer]
[itchyjunk] has joined #osdev
xenos1984 has joined #osdev
Matt|home has quit [Ping timeout: 246 seconds]
ThinkT510 has quit [Quit: WeeChat 4.1.1]
ThinkT510 has joined #osdev
GeDaMo has joined #osdev
gxt has quit [Remote host closed the connection]
gxt has joined #osdev
civa has joined #osdev
civa has quit [Client Quit]
puck has joined #osdev
bslsk05 has joined #osdev
stolen has quit [Quit: Connection closed for inactivity]
gog has joined #osdev
duderonomy has quit [Quit: Textual IRC Client: www.textualapp.com]
jjuran has quit [Quit: Killing Colloquy first, before it kills me…]
jjuran has joined #osdev
kof123 has quit [Ping timeout: 252 seconds]
GeDaMo has quit [Quit: That's it, you people have stood in my way long enough! I'm going to clown college!]
GeDaMo has joined #osdev
kof1231 has joined #osdev
gog has quit [Quit: byee]
danilogondolfo has quit [Remote host closed the connection]
danilogondolfo has joined #osdev
danilogondolfo has quit [Read error: Connection reset by peer]
[_] has joined #osdev
netbsduser has joined #osdev
[itchyjunk] has quit [Ping timeout: 260 seconds]
rustyy has joined #osdev
Burgundy has quit [Remote host closed the connection]
gildasio has quit [Remote host closed the connection]
gildasio has joined #osdev
gog has joined #osdev
flom84 has joined #osdev
pretty_dumm_guy has joined #osdev
foudfou_ has joined #osdev
foudfou has quit [Ping timeout: 256 seconds]
foudfou_ has quit [Remote host closed the connection]
foudfou has joined #osdev
warlock has quit [Ping timeout: 255 seconds]
textolarian has joined #osdev
flom84 has quit [Quit: Leaving]
<mcrod`> hi
vdamewood has joined #osdev
textolarian has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Left_Turn has joined #osdev
dude12312414 has joined #osdev
zetef has joined #osdev
netbsduser has quit [Remote host closed the connection]
netbsduser has joined #osdev
Yoofie2 has quit [Ping timeout: 240 seconds]
Yoofie has joined #osdev
stolen has joined #osdev
<gog> i
<Ermine> gog: may I pet you
netbsduser has quit [Ping timeout: 240 seconds]
vdamewood has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
netbsduser has joined #osdev
dude12312414 has quit [Ping timeout: 256 seconds]
nuvls has quit [Ping timeout: 255 seconds]
nuvls has joined #osdev
<gog> Ermine: y
heat has joined #osdev
<zid> gog: f
* Ermine pets gog
xenos1984 has quit [Ping timeout: 252 seconds]
xenos1984 has joined #osdev
Left_Turn has quit [Ping timeout: 258 seconds]
goliath has joined #osdev
* geist yawns
<heat> geist!
<geist> hola
<heat> olá
<zid> heat: w
<zid> geist: v
stolen has quit [Quit: Connection closed for inactivity]
xenos1984 has quit [Ping timeout: 260 seconds]
<heat> very funny fact: linux has a bullshit hidden filesystem for block devices
<heat> why? block device dirtying/flushing
<clever> i hadnt noticed that one
<clever> related, i saw a blog post, where somebody was wanting to stress test linux, for the lulz
<clever> he used qemu and virtio to add 1000's of block devices to linux
<clever> and past 26, it goes from vdz to vdaa
<heat> yep
<clever> but he also found, that the entire list of block devices, is scanned linearly
<clever> so if you have 1000 block devices, and try to open the 1000th one, it takes 1000x as long to open
<heat> yeah
<clever> and he just kept adding more, to see when it would break, and what would happen along the way
<heat> wait
<heat> really? linear block device table?
<clever> i forget the exact impelmentation (linked list vs array)
<heat> as in open(/dev/sda) just scans a linked list for the dev?
<clever> but the scan was linear, checking each item in the array
<clever> yeah
<heat> yuck
<clever> when you only have 4 devices, who cares?
<clever> when you have 1000 devices, it only matters at mount time
<clever> so, who cares?
<clever> also, who has 1000 block devices?? :D
<heat> it matters whenever someone opens a block device
<clever> and how often are you opening one?
<heat> probably rarely
<clever> exactly
<heat> but still, my kernel shares the block device register/lookup logic with char devs
<heat> which are opened a lot more (still rarely though)
<clever> i can only see it really being an issue for rare cases like zfs mounting, where it has to open every block device, and check for headers, to discover the right ones to use
<heat> i have a 256-size hashtable for each kind of dev
<clever> now that you mention the device#'s, yeah, that makes me wonder what the heck linux is doing.....
<zid> some idiot will come up with some stupid reason they need 10k mount points eventually
<heat> so onyx is OPTIMAL
<zid> and I'll have to have a b-tree instead of a list for my "sda, sdb"
<clever> brw-rw---- 1 root disk 8, 0 Oct 20 10:10 /dev/sda
<clever> the first layer, would be within the devtmpfs, to map sda to an inode, that says "block device 8 0"
<clever> then its just 2 ints, and it could look it up in an array...., why was it as slow as the blog post claimed.......
<heat> fwiw it seems to use a hash table
<heat> so
<heat> they use the pretend blockdev filesystem i mentioned!
xenos1984 has joined #osdev
<geist> gasp, maybe something on the internet is WRONG?
<clever> or it was right, at the time of writing (say, linux 2.6, lol)
<clever> and linux has since changed
<clever> id have to find the blog post again
<zid> heat I'm thinking maybe it's time to play Spore again
<zid> were you alive when that came out
<heat> yes
<heat> clever, fwiw block devices were using the inode hashtable back in 2.6.0
<heat> so either they O(n)'d on something else or this myth is officially BUSTED
<heat> in very few cases would linked lists be used for a lookup-heavy thing
<heat> even if in this case it's ""heavy""
Yoofie4 has joined #osdev
Yoofie has quit [Ping timeout: 246 seconds]
Yoofie4 is now known as Yoofie
<geist> but either way even f it was a linear list, it's not the worst sin you can do
<geist> since 1000s of block devices is pretty insane
<gog> hæeeee
<gog> hvað sögum þá
zetef has quit [Remote host closed the connection]
zetef has joined #osdev
goliath has quit [Quit: SIGSEGV]
Vercas has quit [Ping timeout: 256 seconds]
gbowne1 has joined #osdev
Vercas has joined #osdev
<clever> geist: yeah
<Ermine> finally, optimal onyx
* gog prr
<heat> wdym finally? it has always been optimal
agent314 has quit [Ping timeout: 260 seconds]
agent314_ has joined #osdev
zetef has quit [Remote host closed the connection]
zetef has joined #osdev
Left_Turn has joined #osdev
goliath has joined #osdev
Left_Turn has quit [Remote host closed the connection]
Left_Turn has joined #osdev
GeDaMo has quit [Quit: That's it, you people have stood in my way long enough! I'm going to clown college!]
<heat> geist, MTE on the pixel 8!
<Ermine> MTE = ?
<geist> interesting
<puck> memory tagging
Left_Turn has quit [Remote host closed the connection]
<Ermine> puck: thank you
<puck> "pixel 8 mte" would've worked :p
Left_Turn has joined #osdev
Left_Turn has quit [Remote host closed the connection]
Left_Turn has joined #osdev
Turn_Left has joined #osdev
<Ermine> Dumb me
Left_Turn has quit [Ping timeout: 260 seconds]
Turn_Left has quit [Ping timeout: 260 seconds]
Matt|home has joined #osdev
<Ermine> I still prefer hardware without all that luminous stuff
heat has quit [Remote host closed the connection]
heat has joined #osdev
Matt|home has quit [Remote host closed the connection]
Matt|home has joined #osdev
dude12312414 has joined #osdev
<jjuran> There's a little screen inside the case?
<jjuran> So in the same way that there's a little 486 running MINIX or whatever to help power on the real computer, I just had this vision of a tower case where you open it up and there's a little screen and keyboard in there.
<jjuran> And you can use it to edit config files that control the startup environment. Or play DOOM.
Left_Turn has joined #osdev
dude12312414 has quit [Quit: THE RAM IS TOO DAMN HIGH]
<heat> mcrod`, fyi firmware people did warcrimes for that shit
<heat> you should feel responsible
<mcrod`> i don’t
<mcrod`> let them burn
valshaped7424880 has quit [*.net *.split]
SophiaNya has quit [*.net *.split]
SophiaNya has joined #osdev
valshaped7424880 has joined #osdev
<Ermine> jjuran: do it
<zid> I swear I've seen people do that
<zid> and I've definitely seen like, fan controllers that do it
<zid> sit in a 3.5" drive bay and have a touchscreen for controlling fanspeeds and stuff
zetef has quit [Ping timeout: 255 seconds]
rpnx has joined #osdev
rpnx has quit [Client Quit]
<jjuran> I made a mounting bracket out of Lego for placing a smartphone above a laptop screen, though I don't have any software taking advantage of that yet
[itchyjunk] has joined #osdev
dude12312414 has joined #osdev
[_] has quit [Ping timeout: 272 seconds]
Left_Turn has quit [Read error: Connection reset by peer]
gog has quit [Ping timeout: 248 seconds]
<zid> good news, lego has their own programming language
zetef has joined #osdev