dude12312414 has quit [Quit: THE RAM IS TOO DAMN HIGH]
vancz has quit []
pie_ has quit []
pie_ has joined #osdev
vancz has joined #osdev
vdamewood has joined #osdev
<heat>
macbook users
<heat>
how tf do the thermals work
<heat>
my macbook pro (intel, 2019?) is doing 100C *easy*
<citrons>
I'm not a macbook user, but the answer is that they don't. many macbook models have problems that often arise from them basically melting themselves
<zid>
They're designed to turbo, saturate the heatsinks, throttle
<zid>
then wait for the next time you want to turbo
<mrvn>
you don't use a mac book the mac book uses you
<moon-child>
macbook pro (m1 pro, 2021): ice cold
<moon-child>
:P
<zid>
You can get a couple seconds of full turbo if you want!
k8yun has quit [Quit: Leaving]
<heat>
like the fan doesn't even kick in at around 70-80C
<moon-child>
I think fan noise is contrary to '''the apple aesthetic''', so they tune it to be conservative. Annoying
<mrvn>
I want transistors that work at higher temps so 100°C at the heat sink is normal and keeps the tea hot.
<mrvn>
There is quite a bit of use for %xmm but %ymm only shows up in the copy code.
fkrauthan has joined #osdev
<mrvn>
I don't even need the algorithms to use SIMD internally but they should provide verctorized versions of the operations. E.g. add 4 pairs of numbers in parallel using SIMD.
<moon-child>
oh, that is annoying to do
<moon-child>
better off using adox/adcx
<mrvn>
That would let me add 2 pairs in parallel. Wouldn't AVX adding 4 pairs be faster?
eroux has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<moon-child>
maybe. Probably not. Getting overflow is annoying with avx
<mrvn>
moon-child: a + b < a
<moon-child>
I guess
<mrvn>
but yeah, you have to <, shift and then add the carry
<moon-child>
you also have to do index management--deal with the case when one of the numbers runs out of limbs before the other
<moon-child>
and either gather or manually transpose
<mrvn>
Single pair vs. 4 pairs it should be a win. 2 vs. 4 maybe not.
<mrvn>
Nah, you would use that with identical sizes numbers. Like when you split a A * B into (A0 A1) * (B0 B1) with power of 2 sizes.
<mrvn>
gmp uses adcx/adox for addmul for example.
nyah has joined #osdev
mahmutov has quit [Ping timeout: 244 seconds]
GeDaMo has joined #osdev
<mrvn>
Am I missing someting or does AArch64 not have a "MUL V0.2D, V1.2D, V2.2D" nor "MUL V0.2D, V1.2S, V2.2S"?
energizer_ is now known as energizer
Likorn has quit [Quit: WeeChat 3.4.1]
<geist>
not sure precisely what you mean there with the .2D stuff and whatnot
<geist>
are you talking about particular lanes of a simd vector?
<mrvn>
yes. 2 64bit * 64bit
<geist>
might be useful to try to see what godbolt emits if you can coax it out. i think there are types for the vector stuff
<geist>
the arm64 ASIMD stuff should be a the minimum a superset of the NEON bits, and i think it's pretty regular so i guess it woul dhave what you want?
<geist>
but of course the manual is probalby the best bet
<bslsk05>
developer.arm.com: Documentation – Arm Developer
<mrvn>
Still no 64bit * 64bit = 64bit with truncation or high/low result.
the_lanetly_052 has joined #osdev
the_lanetly_052_ has quit [Ping timeout: 258 seconds]
<mrvn>
AArch64 has some strange SIMD opcodes: SQRDMLAH (vector)
<mrvn>
Signed Saturating Rounding Doubling Multiply Accumulate returning High Half (vector).
<mrvn>
V0 = round(V0 + (V1 * V2) >> 32)
<mrvn>
for 4 ints
zaquest has quit [Remote host closed the connection]
zaquest has joined #osdev
* mrvn
just noticed std::atomic<integral> is defined as two's-complement. No UB with signed overflow.
terminalpusher has joined #osdev
Likorn has joined #osdev
Burgundy has joined #osdev
Terlisimo has quit [Quit: Connection reset by beer]
Terlisimo has joined #osdev
eroux has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
foudfou has quit [Remote host closed the connection]
foudfou has joined #osdev
Likorn has quit [Quit: WeeChat 3.4.1]
terminalpusher has quit [Remote host closed the connection]
eroux has joined #osdev
ethrl has joined #osdev
gog has joined #osdev
wootehfoot has joined #osdev
henistein has joined #osdev
eroux has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
eroux has joined #osdev
<mrvn>
gcc vectorization kind of sucks: https://godbolt.org/z/djWs53o8G Can't to 4x64bit as two 2x64bit vectors. Clang manages to break it into two vectors.
<bslsk05>
godbolt.org: Compiler Explorer
<mrvn>
2x64bit vector add produces the same code in gcc and clang, just some reordering. I wonder if it makes any difference.
<mrvn>
And what is gcc thinking in the plain "sum" chaning the array index to be 1 based?
dennis95 has joined #osdev
sortiecat is now known as sortie
sortiecat has joined #osdev
sortie has quit [Ping timeout: 246 seconds]
sortiecat is now known as sortie
<mrvn>
cats, always taking over your live^Wnick
eroux has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sortiecat has joined #osdev
sortie has quit [Killed (NickServ (GHOST command used by sortiecat))]
sortiecat is now known as sortie
<gog>
mew
<zid>
hi glug
<gog>
howdy
heat has joined #osdev
* kazinsal
headpats gog
* heat
goghead pats
wootehfoot has quit [Read error: Connection reset by peer]
henistein has quit [Quit: Client closed]
* psykose
pathead gogs
ethrl has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
* Andrew
breaks the CTCP ACTIONization of #osdev
<Andrew>
This message is not a CTCP!!!
<zid>
weird, they changed the lid on soft drink bottles
<zid>
and it's incredibly shitty
<mrvn>
Do you mean the lids that no longer detach?
puck has quit [Excess Flood]
puck has joined #osdev
mahmutov has joined #osdev
ethrl has joined #osdev
vdamewood has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
srjek has joined #osdev
FreeFull has joined #osdev
PSedlacek has joined #osdev
srjek|home has joined #osdev
srjek has quit [Ping timeout: 248 seconds]
bauen1 has joined #osdev
eroux has joined #osdev
dennis95 has quit [Quit: Leaving]
eroux has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
gildasio has quit [Remote host closed the connection]
jafarlihi has joined #osdev
<jafarlihi>
I've got a thread that prints out to stdout whenever it receives network messages, but this clobbers the unfinished input I'm in the process of typing in my shell. Is there any way I can make it not clobber the input without using something like ncurses?
<zid>
add messages to a queue
<zid>
and have a single thread responsible for printing things
gildasio has joined #osdev
<jafarlihi>
zid: Why that matters? As soon as I printf it will mess up what I'm typing
<GeDaMo>
Log to a file?
<jafarlihi>
No, I need to see the output while typing
<zid>
ah I thought you meant two programs were fighting on the output
<geist>
yah and i even internalize that. i have a tough time taking vacation if i have pending things to do
<sortie>
30 paid vacation days + holidays
<geist>
so i always delay vacation until i get something done, and then i just have more to do
<geist>
even though i have a crapton of vacation hours queued up
<gamozo>
It's rough having to do weekly/monthly statuses work. Like, maybe I'm just defective. But I get like 3-4 months of hyper productivity a year, followed by 8 months of just wanting to chill and work on side projects
<gamozo>
and I'm way more productive doing bursts, rather than trying to "pretend" to have consistent output year-round every week the same level of producitivty
<zid>
better than my 3-4 days and 11 months
<zid>
check my git history
<geist>
gamozo: yah agreed
<geist>
and the 8 months i just feel bad about not doing as good as the productive ones
<gamozo>
I recently formed a business with my friend, because I cannot do effective technical work at $BIGCORP
<geist>
because of the internalized shame at it
<gamozo>
and technical work is what I _love_
<gamozo>
It's so hypeee
<zid>
can I help, I will work for $30k, 2 da...
<gamozo>
:D
<geist>
and companies like $BIGCORP force you to deal with it by having this over the table performance process that forces you to write everything down, etc
<gamozo>
Yeah, I think it works great for people who need the guidance, but for people who don't it really hurts them I think
<zid>
does your job have the cool feature american jobs have
<zid>
where if you do your job really well
<zid>
you get to do other people's jobs as well
<gamozo>
sadly (from what I've seen, could be my specific teams) beyond senior you're forced to manage, and senior is often 4-6 year of exp. So the "technical" path after just a few years of technical work :(
<geist>
yah not necessarily forced i think, but at least forced to 'architect' or whatnot
<gamozo>
Like, I like architecting, but I can't even get that work
<geist>
ie, less hands on technical work and more writing things down technical work
<geist>
and i think that's a different skill set
<gamozo>
I've offered that but I don't have leadership experience so they won't let me do it (without proving myself). Which don't get me wrong, that's fair
<gamozo>
but I don't want to do a leadership role to prove myself at senior pay
<gamozo>
maybe I'm greedy, but I can do that grind doing consulting with direct rewards for my technical output
<geist>
that's why i fiddle with osdev or hobby stuff on the side. gives me the satisfaction of technical stuff without any of the un-fun BS parts of it
<gamozo>
The problem is my technical experience is maybe 15-20+ years, but my leadership experience is 0, so to $BIGCORP, max I'm senior (which is usually just 6 years technical exp or some shit)
<gamozo>
feels bad cause I'm pretty sure I could do the leading, if I knoew I wasn't doing it for insanely cheap
<gamozo>
I love teaching and technical leadership, but I do that on my free time with my outside-of-work projects, and they don't trust that experience I guess? Idk
<gamozo>
which is fair, it's a bit "easier" than some of the stuff I'd deal with at a company
<gamozo>
/rant
<gamozo>
(this maybe has been on my mind this past year as like a big hurdle)
<geist>
hrm, got a mysterious shipment package notification from china that i dont know what it goes to
<geist>
but then i have a set of preorders for various boards out that i've half forgotten about, so it could be any one of them
<zid>
ooh christmas presents
<gamozo>
Surprise!
<zid>
past you was kind to future you
<zid>
past me is an asshole
<zid>
he never buys me toys
bauen1 has quit [Ping timeout: 260 seconds]
<geist>
i think it might be one of the riscv boards i ordered a while back
<zid>
oh at least you got a bad toy
<zid>
now I feel less envious
<geist>
i ordered one of the rockchip router boards i linked the other day but that wsas explicitly DHL based
<geist>
did some digging around and the docs are basically fully available for the rockchip in it, and looks pretty solid
<geist>
being actually available it seems like a nice product if you're okay with it being headless. there's some other board with the same soc that has hdmi and whatnot brought out
<geist>
hmm, it's not the risc-v board. thats *still* on preorder (Vision-Five)
<zid>
what's one of those
blockhead has joined #osdev
mahmutov has joined #osdev
<j`ey>
geist: that one you linked shows it having hdmi
<heat>
you idiots use protobufs? ha
<heat>
we use capnproto, literally protobufs v2
<heat>
built by the same guy
<zid>
I use structs
<zid>
built by donald knuth
<heat>
but that does not scale
<heat>
checkmate zid
<zid>
struct buf { int scalefactor; };
<zid>
just increment that, np
wootehfoot has joined #osdev
<geist>
heat: yeah i remember hanging out at Kenton's house a few times (he had this epic gaming house at the time) about when he was publishing captnproto
<geist>
ah he works at cloudflare now. you'll probably meet him
<heat>
oh you know him?
<heat>
he's on my team :)
<geist>
yah a bit, though i only hung out at his house a few times with a bunch of other people
<geist>
he had this i think biweekly gaming day at his house which was really fun
<heat>
woah :D
<heat>
did he just invite people from the office?
<geist>
or friends of friends, etc. it was more like you signed up no his page and brought food and beer
<geist>
i think at the time he had just left or recently left google, and it was long before i worked there
<heat>
must've been in 2013
<geist>
yah maybe i was at google at the time
<geist>
i remember teh tech design was kinda interesting, i tink he had 12 statinos around the house, mostly hidden away in wall panels that you pulled down. the desktops themselves were rack mounted all n one closet
<geist>
he had some thing where each had a copy of windows that was running off a central nas box, each was iscsi mounted the root drive
<geist>
and operating on some sort of snapshot, so at the end of the day when you shut them down it reset back to scratch
<geist>
i dunno precisely how he ran the hdmi and usb and whatnot across the house, but there's a whole tech page on that site
<geist>
all told the whole thing wans't *that* expensive. like $20k or something
<geist>
all considering
<gamozo>
This is cool!
<geist>
iirc the iscsi snapshot stuff was pretty cheezy and effective. the iscsi machine was serving 12 LVM partitions off a disk, and each LVM partition was set up at the start of the day as a COW snapshot of a golden one
<heat>
geist: the fact you can recall technical details of this lan party thing you went to 10 years ago is pretty impressive lol
<geist>
heh i remember being pretty interested in it
<geist>
also was surprised to learn that windows has pretty decent built in boot-from-iscsi support
<heat>
the google+ references on his blog are mindnumbingly funny to me
<geist>
ah yes.
<zid>
they're very cuil
<geist>
i remeber actually liking g+ once i culled it to be just technical blogs and whatnot. didn't get popular enough to turn into a social media cesspit
<heat>
maybe one day I'll ask him "hey Kenton remember this operating systems weirdo from Google that kept blabbering on about iSCSI while everyone wanted to play vidya games" :P
<geist>
hah no there were lots of techies there
<geist>
this is silicon valley
<zid>
"guy didn't even know what an 8 pool was"
<mjg_>
3 rax
<heat>
I would assume operating systems people are a small minority no?
<zid>
I tried playing sc2 recently, having not played it for like.. a decade
<mjg_>
funny you say that
<zid>
it felt *so* weird, like I was playing it through a mail slot using someone else's arms
<mjg_>
i was almos flirting with the idea this week, then i learned that frostgiant (after blizzard exodus) is going to have a beta new rts soon
<mjg_>
and people are going to switch, mostl ikely
<mjg_>
even so, apparently the population count is at about 200k right now
<zid>
I got to diamond when there was only diamond, and then very bottom of master when they added that
<mjg_>
i though the game would be way more dead right now