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
Arthuria has joined #osdev
<kof673> aloha matt
<Matt|home> mh.
<geist> an afternoon reminder of a fantastic 90s song: https://youtu.be/yuTMWgOduFM
memset_ has joined #osdev
bradd has joined #osdev
memset has quit [Ping timeout: 260 seconds]
Arthuria has quit [Ping timeout: 248 seconds]
galambo has quit [Quit: Leaving]
<the_oz> oh boy, occult signage. Which fits since that is also for elites
<the_oz> Y-head, Osirian
<kof673> its ace of base isn't it?
* geist blinks
<geist> haha ace of base. thanks for putting that back in my mind
<geist> nah it's Common People
arminweigl has quit [Ping timeout: 258 seconds]
arminweigl_ has joined #osdev
arminweigl_ is now known as arminweigl
<dostoyevsky2> the William Shatner version?
<geist> nah the original
<geist> though the shatner version is pretty good
<kazinsal> someone elsewhere today posted a link to that time that shatner did a WWF promo to promote tekwar
<kazinsal> just the most baffling thing
Renfield has joined #osdev
<kof673> Devo - Whip It bootes had a whip/spear/sword, i am not suggesting anything, just providing helpful mnemonics lol
edr has quit [Quit: Leaving]
mavhq has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
mavhq has joined #osdev
Arthuria has joined #osdev
vdamewood has joined #osdev
j00ru has quit [Ping timeout: 248 seconds]
j00ru has joined #osdev
memset has joined #osdev
memset_ has quit [Ping timeout: 260 seconds]
levitating has quit [Remote host closed the connection]
levitating has joined #osdev
smeso has quit [Quit: smeso]
memset has quit [Remote host closed the connection]
memset has joined #osdev
smeso has joined #osdev
Stary has quit [Quit: ZNC - http://znc.in]
CompanionCube has quit [Quit: ZNC - http://znc.in]
Stary has joined #osdev
Arthuria has quit [Ping timeout: 260 seconds]
CompanionCube has joined #osdev
masoudd has joined #osdev
hwpplayer1 has joined #osdev
Dead_Bush_Sanpai has quit [Read error: Connection reset by peer]
Dead_Bush_Sanpai has joined #osdev
hwpplayer1 has quit [Read error: Connection reset by peer]
hwpplayer1 has joined #osdev
hwpplayer1 has quit [Remote host closed the connection]
goliath has joined #osdev
<mjg> lol
<mjg> > 31dec86
<mjg> took me a minute to realize this is not a shortened git hash
hwpplayer1 has joined #osdev
mubluekoor has quit [Remote host closed the connection]
hwpplayer1 has quit [Remote host closed the connection]
mubluekoor has joined #osdev
<Ermine> woah, 45-part patchen
gog has quit [Ping timeout: 252 seconds]
<bslsk05> ​lists.freedesktop.org: [PATCH 00/86] drm: Provide client setup helper and convert drivers
Dead_Bush_Sanpai has quit [Read error: Connection reset by peer]
Dead_Bush_Sanpai has joined #osdev
<klys> 31dec86 ? is it a file date? sounds like it might be retro stuff
ThinkT510 has quit [Quit: WeeChat 4.3.6]
ThinkT510 has joined #osdev
mubluekoor has quit [Remote host closed the connection]
mubluekoor has joined #osdev
bauen1 has quit [Ping timeout: 260 seconds]
arminweigl has quit [Ping timeout: 252 seconds]
arminweigl_ has joined #osdev
arminweigl_ is now known as arminweigl
<mjg> klys: OG cron
<klys> ahhh
xenos1984 has quit [Read error: Connection reset by peer]
heat has quit [Read error: Connection reset by peer]
heat has joined #osdev
xenos1984 has joined #osdev
levitating has quit [Remote host closed the connection]
xenos1984 has quit [Ping timeout: 248 seconds]
xenos1984 has joined #osdev
galambo has joined #osdev
masoudd has quit [Ping timeout: 264 seconds]
vinleod has joined #osdev
vdamewood has quit [Ping timeout: 260 seconds]
vinleod is now known as vdamewood
bauen1 has joined #osdev
GeDaMo has joined #osdev
hwpplayer1 has joined #osdev
spare has joined #osdev
netbsduser has joined #osdev
spare has quit [Remote host closed the connection]
heat has quit [Read error: Connection reset by peer]
heat_ has joined #osdev
hwpplayer1 has quit [Quit: ERC 5.5.0.29.1 (IRC client for GNU Emacs 29.4)]
Dead_Bush_Sanpai has quit [Read error: Connection reset by peer]
scaleww has joined #osdev
Dead_Bush_Sanpai has joined #osdev
<sortie> Today I'm bootstrapping gcc 14.2.0 using gcc 5.2.0 on my OS :)
<vdamewood> sortie: Yay!
<sortie> It failed because my munmap(2) had O(N*N*logN) behavior but after improving that to O(N) I got further :)
<mjg> :))
<sortie> So far the bootstrap is going clean. I was honestly worried gcc 5.2.0 might have bugs that could derail it
<sortie> Although to be honest, I've used that compiler version since 2016, and it's proven an exceptionally stable vintage
galambo has quit [Quit: Leaving]
<nikolar> oh you were on 5.2 the whole time
<sortie> woo we have xgcc
<nikolar> nice
<sortie> cc1 dropped
<sortie> all-gcc done. woot.
<sortie> I honestly expected more trouble moving across 8+ years of gcc releases.
<nikolar> kek
<sortie> And it's installed!
<sortie> It's even working, I can build my kernel with g++ 14.2.0! A few new warnings
<nikolar> fancy
<sortie> Alright ubsan doesn't work since I need to upgrade my libubsan with more symbols, that won't be too hard, let's just turn that off
<nikolar> kek
<sortie> -fstack-protector-all doesn't work too but that's because I forgot to apply a little patch saying it's in my libc
galambo has joined #osdev
<sortie> Awesome. I bootstrapped gcc 14.2.0 on my OS and I recompiled the kernel, the base utilities, etc, and it's working. Basically out of the box with no issues. What a surprise! I expected nasty bugs. All I got is a bunch of new exciting gcc warnings on my codebase
<mjg> :)
<mjg> that's probably because it's amd64
<mjg> miscompilation mostly happens for arm and ppc
<mjg> congrats are still in order tho
fedaykin has joined #osdev
<nikolar> why's that mjg
Dead_Bush_Sanpai has quit [Read error: Connection reset by peer]
<sortie> amd64 has had a lot more years to stabilize even back in 2015/2016
Dead_Bush_Sanpai has joined #osdev
<ThinkT510> now try it with llvm to see what gcc missed
fedaykin has quit [Ping timeout: 245 seconds]
<sortie> And it built the whole base system of mine \o/ I only had to fix legit bugs in three places that gcc now saw as errors
heat has joined #osdev
heat_ has quit [Read error: Connection reset by peer]
netbsduser has quit [Ping timeout: 276 seconds]
d5k has joined #osdev
<sortie> And I bootstrapped a new libstdc++
<sortie> This is all crazy stuff but at one point when one's OS is far enough along it's basically just "I just compiled software."
<nikolar> cool stuff
netbsduser has joined #osdev
<sortie> One really nice thing is that it appears modern gcc let's you build libstdc++ standalone without being part of the gcc build which is super great
<sortie> There was a big problem earlier where you basically had to build libc between gcc/libgcc and libstdc++, but libstdc++ had to be built as part of gcc
<sortie> I had a _bunch_ of patches to make libstdc++ standalone and that doesn't appear to be needed anymore. I can just invoke the configure script in that directory directly.
<nikolar> neat
<_rink> sortie, that sounds awesome - is that documented somewhere?
<_rink> Or just a lucky coincidence (which seems to describe the gcc build infrastructure pretty well, from outsiders point of view)
<kof673> "happy accident" -- bob ross's ghost
masoudd has joined #osdev
galambo has quit [Quit: Leaving]
d5k has quit [Quit: leaving]
<bslsk05> ​www.reddit.com <no title>
<heat> programmers cannot physically post in r/programmerhumor
<netbsduser> heat: it is probably the least funny humour forum i have seen this millenium
<netbsduser> maybe since time immemorial
<zid> That's all I can think about whenever I realize I'm looking at people talking about how computers work
edr has joined #osdev
<vdamewood> Yeah, most people don't know how to write a UEFI app, they only know how to code a boot sector.
<heat> Ermine, 87 part patchen are absolutely based vs a commit named "changes."
<zid> vdamewood: I'd say most people only really know how linux and windows do syscalls and memory allocation
<vdamewood> It's always fune when I have people who can handle my utter nonsense and send it back to me.
<vdamewood> fun*
<nikolar> zid: more like one or the other
<mjg> heat: wtf is that sub
<mjg> 3.8M members, have to be terrible
<zid> nikolar: check the xkcd comic first
<nikolar> (that was a joke)
<bslsk05> ​www.reddit.com <no title>
<heat> >3. Learn Clean Code
<mjg> > Wait, I didn't know I was a fake programmer, wtf lmao I literally live on copy paste hahah
<mjg> fucking webtards
<mjg> this is literally the webtard standard
<mjg> erm i mean they are doing their best, aren't they heat
<heat> i'm not sure copying and pasting is their best
<mjg> everyone is doing their best Pedro
<nikolar> webtards, i like it
<heat> aren't you a webdev too?
<nikolar> no
<nikolar> not anymore :)
m3a has quit [Ping timeout: 252 seconds]
raphaelsc has joined #osdev
<heat> congrats
<bslsk05> ​www.goodreads.com: Copying and Pasting from Stack Overflow by Vinit Nayak | Goodreads
<mjg> i wonder how many of these fucks are now fired
<mjg> while everybody can get laid off (mgmt is notoriously idiots), it is programmers which hire people
<mjg> by now these fucks may have geunine trouble finding a job
goliath has quit [Quit: SIGSEGV]
terrorjack4 has quit [Quit: The Lounge - https://thelounge.chat]
terrorjack4 has joined #osdev
scaleww has quit [Quit: Leaving]
Left_Turn has joined #osdev
raphaelsc has quit [Ping timeout: 276 seconds]
raphaelsc has joined #osdev
<kof673> heat: quickly, i do not wish to discuss, but to demonstrate...you should not worry about americans or "the constitution" lol > https://supreme.justia.com/cases/federal/us/6/445/ > the members of the American confederacy only are the states contemplated in the Constitution.
<bslsk05> ​supreme.justia.com: Hepburn & Dundas v. Ellzey :: 6 U.S. 445 (1805) :: Justia US Supreme Court Center
<kof673> when do you think that was last operational? when do you think it will be operational again? lol
<mjg> who has windows 10 or newer and can check something ez in the terminal
<mjg> echo crap > c:\con\con\con
<mjg> does this work?
<heat> i'll check, i need to update it anyway
<mjg> bonus, change the drive letter to something bogus
<heat> this is for cmd.exe?
<mjg> echo crap > hue:\con\con\con
<mjg> ya
<heat> ok brb
heat has quit [Remote host closed the connection]
<mjg> fwiw it "works" on windows 2000
theruran has joined #osdev
heat has joined #osdev
<mjg> it looks like hte rule is that the path has to end with "con"
<mjg> then any garbage prior is fine
<mjg> echo crap > hue:\fsck\onyx\con
<heat> C:\Users\pedro>echo crap > hue:\fsck\onyx\con
<heat> The filename, directory name, or volume label syntax is incorrect.
<mjg> :O
<heat> C:\Users\pedro>echo crap > h:\fsck\onyx\con
<heat> The system cannot find the path specified.
<bslsk05> ​copy.sh: Virtual x86
<mjg> try out on this bad boy
<mjg> works like a charm
<mjg> microsoft broke some backwards compat here!
<mjg> i'm gonna file a ticket
heat has quit [Client Quit]
levitating has joined #osdev
heat has joined #osdev
<heat> every time i boot into windows i have so many updates
<heat> i must be vulnerable to like 20 RCEs atm
<mjg> :)
<mjg> thanks for testing btw
<mjg> stick to arch btw
<heat> you're welcome
<heat> do you want a dtrace of some random shit
<heat> i think it still works
<mjg> :p
<mjg> is there a workload or bench you can run on it
<mjg> to even look anything meaningful
<mjg> hm
<heat> i genuinely have no clue. maybe wsl1 would be fun but i don't have that anymore
<mjg> if you can get will-it-scale operational, i have a great test
<mjg> open + read + close
<mjg> may need porting to winapi
<mjg> but bottom line is to test how this shit scales
<heat> oh a basic fopen + fread + fclose would do?
<mjg> extra points for checking mere reads in a loop
<heat> even includes some MM for spicyness
<mjg> conceptually yes, but i don't want a case where this just sucks because it translates to shite calls
<mjg> which proper win programs are not issuing
<heat> i dont think many windows programs use the win32 file api directly
<mjg> and i have no idea how to write one\
<mjg> well proper test would use the recommended apis
<mjg> idk what they are
<mjg> for all i know that fopen thing would go through NtLolLegacyKurwaEx call which is turbo slow cause it is not even supposed to by used
goliath has joined #osdev
bauen1 has quit [Ping timeout: 264 seconds]
Dead_Bush_Sanpai has quit [Read error: Connection reset by peer]
Dead_Bush_Sanpai has joined #osdev
Dead_Bush_Sanpai has quit [Read error: Connection reset by peer]
<heat> dtrace -Fn "syscall::NtQueryPerformanceCounter:entry { stack(); }" isn't this query just supposed to work?
<heat> i'm getting "extraneous argument 'dtrace' ($1 is not referenced)"
Dead_Bush_Sanpai has joined #osdev
<mjg> @[stack()] = count();
<heat> oh forget that, i'm so stupid
<mjg> wtf would you attach to that tho
Dead_Bush_Sanpai has quit [Read error: Connection reset by peer]
<heat> just checkin
<mjg> and you would only get the syscall entry anyway
<mjg> get the flamegraph one liner
<mjg> profile-97 ...
Dead_Bush_Sanpai has joined #osdev
<heat> yeah symbols seem to work, replaced with ustack
memset has quit [Remote host closed the connection]
heat has quit [Quit: Client closed]
heat has joined #osdev
memset has joined #osdev
<heat> kernel symbols do not though :/
<mjg> this is not worth looking much at
the_oz_ has joined #osdev
<heat> huh i think profile-99 doesn't work, weir
<mjg> dtrace -l | grep profile
<mjg> maybe they only support specific timers
the_oz has quit [Ping timeout: 252 seconds]
<heat> "dtrace -x stackframes=100 -n "profile-99 /arg0/ { @[stack()] = count(); }"" this one liner i stole off of freebsd does not work
<heat> but there's a similar one in dtrace on windows that seems to
<mjg> again may be a different profile value
<mjg> 99 does not work on netbsd either
<mjg> :d
<mjg> afair
<mjg> you need the cyclic framework to have aribtrary precision
<mjg> which is where magic 99's come form
<mjg> for all i know all you got there is profile-1000
<mjg> just fucking list the probes and grep
<heat> oh i suspect the /arg0/ stuff is borked
<mjg> well i did dtrace a quick try myself some time ago on 11 i think
<mjg> and it was fucked
<heat>  nt`SMKM_STORE_MGR<SM_TRAITS>::SmIoCtxWorkItemComplete+0x18f look ma C++
<mjg> so i'm not shocked it still does not work
<heat> Oh this is fascinating, this SMKM_STORE stuff seems to be related with memory compression
<heat> core kernel code in C++. dope
<heat> mjg: open + read + close for the same file? diff file same dir?
<mjg> start with read1_processes
<mjg> this is for example serialized on zfs(!)
<mjg> i would not be shocked if that was true on ntfs
<heat> you mean threads, i can't fork :)
<mjg> threads ? 8s
<mjg> can you profile that
<mjg> cause it may serialize on handle lookup
<mjg> i'm bailin for dinner
craigo has joined #osdev
Dead_Bush_Sanpai has quit [Read error: Connection reset by peer]
Dead_Bush_Sanpai has joined #osdev
Dead_Bush_Sanpai has quit [Read error: Connection reset by peer]
Dead_Bush_Sanpai has joined #osdev
Dead_Bush_Sanpai has quit [Read error: Connection reset by peer]
Dead_Bush_Sanpai has joined #osdev
Dead_Bush_Sanpai has quit [Read error: Connection reset by peer]
fedaykin has joined #osdev
Dead_Bush_Sanpai has joined #osdev
<netbsduser> this is the one element integral to the kernel reported to be C++ by a windows dev on the discord
<netbsduser> it deals in memory compression and apparently also in general "optimisation of memory backing" or something like that (he did not explain beyond that)
skipwich_ is now known as skipwich
heat has quit [Quit: Client closed]
heat has joined #osdev
Gooberpatrol_66 has quit [Quit: Konversation terminated!]
Gooberpatrol_66 has joined #osdev
<bslsk05> ​gist.github.com: win32 file open close read · GitHub
<heat> you'll be happy to know it does not scale AT ALL even with 8 threads
<heat> i get ~60% CPU usage out of it
goliath has quit [Quit: SIGSEGV]
bauen1 has joined #osdev
<the_oz_> I need to integrate flame graphs
<the_oz_> that's my takeaway
<the_oz_> fantastic.
<heat> flamegraphs are great
<gorgonical> heat's favorite thing is flamegraphs
<the_oz_> gotta feed the fire
<zid> 2nd favourite
<zid> his favourite is footballers
<heat> no i prefer woman
<heat> but yes after woma probably flamegraphs
<gorgonical> it makes me sad that football is the most popular sport because I find it pretty boring to watch
<heat> OH SORRY
<zid> dw, being handicapped isn't the end of your life
<heat> 1) football 2) woman 3) flamegraph
<zid> you can still lead a mostly normal life
<gorgonical> rugby is just a better sport
<heat> you're objectively wrong shut up
<gorgonical> both footballs are bad, dumb american edition and "all i have is a ball and posts" edition
<zid> that is the american edition
<heat> you're so wrong, just so so wrong
<gorgonical> look man if games in your sport sometimes end up 1-0 then the game is badly designed
<heat> why?
<zid> why?
<GeDaMo> Jumpers for goalposts :P
<gorgonical> it's too hard to score and not interesting enough
<zid> "tension is bad"
<gorgonical> basketball has the reverse problem
<gorgonical> points are way too easy
<zid> if you only care about the scoring, you may be an american
<GeDaMo> Chess: win or lose
<heat> that's because you know nothing about football
<heat> being hard to score gives you the ecstasy of fucking scoring
<zid> GeDaMo: Chess is a shit game, we need 10-20 places for fireworks, cheerleaders, and adverts
<gorgonical> zid tension can be had with more than zero points on the board. hockey is very great at this
<heat> football is objectively interesting if you know what you're looking at
<gorgonical> scores are not usually 0-0 but not usually as high as 7-7, which gives leeway for comebacks and other exciting stuff
<zid> ah yes, because 0-0 gives no leeway for a 'comeback'
<zid> my mistake
<gorgonical> heat half of america says this about american football
<gorgonical> "it's chess on the field, played by the coaches"
<zid> I'm sure it is interesting, it is however, a terrible advert mess
<zid> and thus unwatchable
<gorgonical> agreed fully
<zid> and it has a terrible name
<bslsk05> ​www.youtube.com <no title>
<gorgonical> the ball is only rarely in contact with the foot even
<heat> sure american football isn't that bad, personally i'm not a big fan but whatever
<GeDaMo> "[Futurama] Future Chess"
<zid> gorgonical only likes blernsball
<the_oz_> yay score point
<zid> "high jump is shit, they only have posts and no ball and they only ever win by a single jump" --Gorg
<gorgonical> individual feats of athleticism and team adversarial sports are definitely equal
<zid> gorg, you'd fucking love snooker btw, they sometimes win 147-0
<the_oz_> the transformation what's fun to play vs. what's fun to spectate
<heat> team adversarial sports with feats of athleticism, technique and tactics*
<GeDaMo> What about darts, where the first one to 0 wins :P
<gorgonical> the_oz_: i agree with that. I'm sure football is a blast to play. I played as a kid and loved it
<fedaykin> k
<zid> GeDaMo: He'd burst into flames, shush
<the_oz_> it will always be fun to challenge ones self
<gorgonical> zid: if that's true snooker is terribly designed
<zid> see, told you you'd love it
<gorgonical> and on the other hand tennis is perhaps too balanced
<zid> tennis is awful, they win 100-0
<zid> or 60-0, however tennis works
<the_oz_> ON THE FLY LOVE
<zid> (but actually 6-0 cus tennis scoring is insane)
<gorgonical> but the fact that you have to get two points ahead to win the game
<heat> ok so your point is that players are too good
<gorgonical> yes
<gorgonical> there needs to be a balance between how hard the sport is and how good the players can be
<gorgonical> either make the players worse or make the game harder
<heat> tennis is HARD
<heat> football is HARD
<gorgonical> sure but the players are also too good
<gorgonical> I didn't say the sports were easy
<zid> That's why you should watch snooker, the game is impossible but also the players are gods
levitating has quit [Ping timeout: 252 seconds]
<heat> for basketball the game is ez, you can be 7ft tall and start playing when you're 16, and ggez you're in the NBA
<gorgonical> agreed
<zid> I read a stat and it's like
<gorgonical> bad design, ratio of game difficulty to player skill is way out of wack
xenos1984 has quit [Ping timeout: 258 seconds]
<zid> If you're over 6'7" then there's a 90% chance you are an active or former NBA player
<heat> they're not even that skilled in general
<gorgonical> as an american I could believe this
<heat> bunch of randos that can barely dribble the ball
<the_oz_> it's only a matter of time that robot wars merges with ballsports, cybernetic plays doing crazy good
<zid> honestly heat's right, you see some of the lads playing basketball and yea they're tall, but they're super fucking uncoordinated
<gorgonical> if we could equip football players with a cybernetic leg so they could kick the ball twice as fast that would change things
<heat> football is a hard game and you should be amazed by the skill and balance between teams
<zid> they just stand by the net and place the ball into it
<heat> but instead you think it's bad. idunno
<kof673> the_oz_, yes, and the old mega man soccer snes game will be seen as prophecy
<zid> larry bird is the only basketball player I respect
<gorgonical> heat: the balance between teams is true in all sports with serious leagues
<the_oz_> I never got into mega man
<kof673> it wasn't that great, just ...odd...
<gorgonical> I can watch any tournament game between the two best teams in the world currently and it's fun
<the_oz_> there was a time when I had sega channel
<the_oz_> good times, only one I remember was ecco the dolphin
<zid> the_oz_: mega mans is cool game, but you need to like, find a big list of which of the 80 megaman games are good
<zid> and which are bad
<heat> you said tennis is too balanced
<zid> ecco was hard as fuck
<heat> tennis seems balanced because some of the players are too good
<zid> There are legitimately games where the better the players are, the worst the game is
<zid> because the meta gets shitty
<heat> it's all great and balanced until the 100th player in the tour gets 6-0 6-1'd by rafael nadal
obrien has joined #osdev
<gorgonical> I don't watch that much tennis -- maybe tennis outside of the current best is more interesting to watch
<gorgonical> maybe I'm sleeping on tennis as an interesting watch
<heat> yes you are
<gorgonical> I watched some of wimbledon singles and that was interesting
<zid> mansour bahrami is the best tennis player in the world, go watch him
<heat> gosh i fucking hate wimbledon, see
<heat> wimbledon is too fast
<gorgonical> the ball boys were hilarious
<gorgonical> what a sight to behold
<zid> I like it when they get pwned by the ball and cry
<heat> i appreciate a good clay court and the long drawn out points
<heat> intensity, passion, tactics, skill
<heat> not wimbledon's fuckin SERVE AND VOLLEY EVERY POINT
<gorgonical> For me I think the game's a little too slow in general. i'm sure it's hard af but the cadence of actions is a little low for me
obrien has quit [Remote host closed the connection]
xenos1984 has joined #osdev
spare has joined #osdev
xenos1984 has quit [Ping timeout: 258 seconds]
gog has joined #osdev
Gooberpatrol66 has joined #osdev
Gooberpatrol_66 has quit [Ping timeout: 260 seconds]
Gooberpatrol66 has quit [Client Quit]
Gooberpatrol66 has joined #osdev
<heat> netbsduser, dxgkrnl.sys`DXGADAPTER::PinFrameBufferForSave
<heat> directx too :)
<heat> and a bunch of win32kbase.sys
kpel has joined #osdev
xenos1984 has joined #osdev
levitating has joined #osdev
<netbsduser> heat: oh, i don't know anything about those
<netbsduser> win32k is despised by the nt ogs
<netbsduser> win32k even reportedly has rust in it nowadays
<heat> right, the nt people hate usefulness
<netbsduser> it's just an ugly wart
<heat> why? it's a subsystem
<netbsduser> david cutler is held in high regard and what they call "cutler's nt" as the platonic ideal of what windows should be
Gooberpatrol66 has quit [Quit: Konversation terminated!]
Gooberpatrol66 has joined #osdev
<heat> if you mean the GUI bits then yeah but i'm afraid it has a lot more than that
<netbsduser> win32k is the unwanted intrusion into the kernel of what cutler intended to be a userland server
<heat> yeah, his beautiful platonic ideal of a system that's slow as shit could be slower <3
<netbsduser> and which was, but which made it into the kernel later into nt's existence (4.0), i think because of performance issues around it programming vga cards
<netbsduser> nowadays the ground has changed and efficiently programming vga cards' i/o ports is no longer a concern
fedaykin has quit [Ping timeout: 252 seconds]
kpel has quit [Quit: .]
levitating has quit [Remote host closed the connection]
levitating has joined #osdev
sortie has quit [Ping timeout: 260 seconds]
<mcrod> hi
<nikolar> oi
<mcrod> i am back from vacation
craigo has quit [Remote host closed the connection]
<zid> smuggle back anything interesting?
skipwich has quit [Quit: DISCONNECT]
raphaelsc has quit [Ping timeout: 260 seconds]
spare has quit [Remote host closed the connection]
<mcrod> nope
<mcrod> i only went to NJ
<zid> oh, just the heroin then
sortie has joined #osdev
skipwich has joined #osdev
skipwich_ has joined #osdev
skipwich has quit [Ping timeout: 252 seconds]
skipwich_ is now known as skipwich
dostoyevsky2 has quit [Quit: leaving]
dostoyevsky2 has joined #osdev
hwpplayer1 has joined #osdev
sortie has quit [Ping timeout: 252 seconds]
Gooberpatrol66 has quit [Quit: Konversation terminated!]
Gooberpatrol66 has joined #osdev
sortie has joined #osdev
skipwich_ has joined #osdev
skipwich has quit [Ping timeout: 252 seconds]
skipwich_ is now known as skipwich
skipwich_ has joined #osdev
skipwich has quit [Ping timeout: 264 seconds]
skipwich_ is now known as skipwich
levitating has quit [Remote host closed the connection]
radens has quit [Quit: Connection closed for inactivity]
<bslsk05> ​<tendstofortytwo> me: (installing windows xp on my laptop) ␤ windows xp: (asks for product key) ␤ me: uhhhhhh (turns over laptop) https://cache.treehouse.systems/media_attachments/files/112/995/738/197/640/327/original/978dd20e4a5cd45f.jpg [A picture of the underside of a Dell Latitude 7290, showing a Certificate of Authenticity for Windows XP Professional Corporate Final, with the popular leaked FCKGW product key. The background is a blend of the
levitating has joined #osdev
HeTo has joined #osdev
vdamewood has quit [Quit: Life beckons]
vdamewood has joined #osdev
skipwich_ has joined #osdev
skipwich has quit [Ping timeout: 248 seconds]
skipwich has joined #osdev
skipwich_ has quit [Ping timeout: 276 seconds]
<heat> mjg, i give you a fun windows flamegraph and you discriminate against genzs
<heat> ok mon
goliath has joined #osdev
<heat> i do want to note that i really dont understand what most of that flamegraph is doing, windows seems like it just does... fluff?
<heat> allocate random shit, passes through random shit, sends messages back and forth
<heat> just cause
<nikolar> don't forget phoning home
<nikolar> that's a big part of the os
<heat> you're 11 calls deep before actually touching NTFS during a path lookup
levitating has quit [Remote host closed the connection]
<heat> dont forget windows defender popping up in profiles together with FUCKING GAMEFLT.SYS
<heat> rest assured, gameflt.sys is part of the xbox gaming services. installed by default.
<kazinsal> it's a filesystem filter driver
<kazinsal> go buy a copy of windows internals seventh edition volume 2
levitating has joined #osdev
<heat> i understand these are filter drivers
<mjg> heat: where the flamegraph at
<heat> gist i linked above
<mjg> where i don't see fuck
<GeDaMo> I see no gist
<bslsk05> ​gist.github.com: win32 file open close read · GitHub
skipwich_ has joined #osdev
gog has quit [Ping timeout: 248 seconds]
<heat> test program attached with a nice note that it maxes out at 60% CPU usage
<mjg> no off cpu flamegraph?
<mjg> :d
<heat> i have no idea what to attach to
<mjg> me neither
<mjg> someone who knows windows will be needed
skipwich has quit [Ping timeout: 258 seconds]
skipwich has joined #osdev
<mjg> heat: can you check what happens if you just read in a loop
<mjg> keep dedicated handles per thread
<mjg> i think the sleep is from opening files
<mjg> search for ExAcquireFastMutex
skipwich_ has quit [Ping timeout: 252 seconds]
<heat> well this is a cpu profile innit
<heat> they could very well use normal mutexen everywhere and just sleep
<mjg> so can you check that read or not mofo
<heat> atm i'm on linux
<mjg> aight
<heat> and i'd need to figure out how to ReadFile directly
<mjg> could have guessed from fewer typos
hwpplayer1 has quit [Quit: Take care friends]
<netbsduser> i wonder what gameflt.sys does
<heat> mjg, i've figured there's also lock contention
<heat> futexes are apparently not system calls
<heat> https://ntdoc.m417z.com/ntalertthreadbythreadid this pops up in the profile
<bslsk05> ​ntdoc.m417z.com: NtAlertThreadByThreadId - NtDoc
<heat> related to WakeByAddress :)
<mjg> dafuq
<mjg> are they doing
<heat> in this case it's probably my fault
<heat> either the heap sucks (fopen) or it's contending when adding a FILE to the global FILE list (fopen)
<mjg> see my remark about not using shite apis
<mjg> and instead the expected stuff
<heat> so i'll need to convert the full example to win32 :/
<mjg> you should still be fine with this for reads tho
<heat> for reads i'd need to re-figure out how to set caching modes for a FILE
<heat> might as well skip that step and use tha raw win32 APIs
<netbsduser> fun thing about wait/wakeonaddress
<netbsduser> it's patented
<netbsduser> even though it's futexes
<heat> yeah you've said that already
<heat> dunno how
<netbsduser> at this point it's undeniable that software patents are a load of baloney
<mjg> it's insurance
<netbsduser> that confirmed it for me
<mjg> against other patent holders
<mjg> realistically everyone infringes on something
<heat> how do you get a k stack trace + user stack trace in the same fg?
<mjg> stack(), ustack()
<netbsduser> and so we have this absurd situation where the pool of patents is polluted with this crap
<heat> mjg, @[stack() + ustack()] ?
<mjg> @[stack(), ustack()] = count();
<mjg> you don't awk, do you
<heat> i do not, thanks
Turn_Left has joined #osdev
masoudd has quit [Ping timeout: 252 seconds]
Left_Turn has quit [Ping timeout: 248 seconds]
Left_Turn has joined #osdev
Turn_Left has quit [Ping timeout: 265 seconds]
Turn_Left has joined #osdev
youcai has quit [Ping timeout: 272 seconds]
Left_Turn has quit [Ping timeout: 265 seconds]
Gooberpatrol_66 has joined #osdev
Left_Turn has joined #osdev
Gooberpatrol66 has quit [Ping timeout: 260 seconds]
GeDaMo has quit [Quit: 0wt 0f v0w3ls.]
Turn_Left has quit [Ping timeout: 265 seconds]
Turn_Left has joined #osdev
Left_Turn has quit [Ping timeout: 258 seconds]
youcai has joined #osdev
sortie has quit [Quit: Leaving]
skipwich_ has joined #osdev
<heat> dtrace is wild tho i need to port that
<heat> not the kernel bits, those are a trashfire, i can do better
skipwich has quit [Ping timeout: 255 seconds]
skipwich has joined #osdev
skipwich_ has quit [Ping timeout: 252 seconds]
skipwich_ has joined #osdev
sortie has joined #osdev
skipwich has quit [Ping timeout: 252 seconds]
skipwich_ is now known as skipwich
owenw has joined #osdev
<owenw> hi
heat_ has joined #osdev
<owenw> hi heat_
heat has quit [Read error: Connection reset by peer]
owenw has quit [Client Quit]
sortiecat has joined #osdev
sortie has quit [Ping timeout: 252 seconds]
heat_ has quit [Read error: Connection reset by peer]
heat_ has joined #osdev
<heat_> hi owenw
heat_ is now known as heat
sortiecat is now known as sortie
skipwich_ has joined #osdev
skipwich has quit [Ping timeout: 272 seconds]
skipwich_ is now known as skipwich
heat has quit [Read error: Connection reset by peer]
heat has joined #osdev
linear_cannon has joined #osdev
sortie has quit [Remote host closed the connection]
memset has quit [Remote host closed the connection]
memset has joined #osdev
goliath has quit [Quit: SIGSEGV]
sortie has joined #osdev
netbsduser has quit [Ping timeout: 255 seconds]
memset has quit [Remote host closed the connection]
memset has joined #osdev
<heat> yo sortie how do i test my network stack without harassing anyone
<sortie> Connect to the professional Sortix network
<heat> this is a legit question, there's a bunch of stuff i need to fix
<heat> hmm will your thing behave as desired?
<sortie> Mooore or less
<sortie> See ip(4) tcp(4) etc for details and known bugs
<heat> ... i could just spin up my gcp free instance
<heat> problem is that my repro is just netcatting a big file to termbin :P
<heat> i'm going thru 9293 and trying to cleanly find wherever i'm deviating from the standard
netbsduser has joined #osdev
memset_ has joined #osdev
memset has quit [Ping timeout: 260 seconds]
voidah has quit [Remote host closed the connection]
voidah has joined #osdev
netbsduser has quit [Ping timeout: 260 seconds]
memset_ has quit [Remote host closed the connection]
memset has joined #osdev
m3a has joined #osdev
torresjrjr has quit [Ping timeout: 252 seconds]
Dead_Bush_Sanpai has quit [Read error: Connection reset by peer]
Dead_Bush_Sanpa1 has joined #osdev
Dead_Bush_Sanpa1 is now known as Dead_Bush_Sanpai
sortie has quit [Remote host closed the connection]
Dead_Bush_Sanpai has quit [Read error: Connection reset by peer]
Dead_Bush_Sanpa1 has joined #osdev
memset_ has joined #osdev
Dead_Bush_Sanpa1 is now known as Dead_Bush_Sanpai
galambo has joined #osdev
memset has quit [Ping timeout: 260 seconds]
levitating has quit [Remote host closed the connection]
xenos1984 has quit [Read error: Connection reset by peer]
levitating has joined #osdev