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]
<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