#Zinnia

1 messages ยท Page 30 of 1

near tartan
#

3gb

#

๐Ÿ’€

#

this will take ages to upload

hybrid island
#

surely you can just make a minimal image bruh

near tartan
#

i already nuked the changes

hybrid island
#

bruh

near tartan
#

bro @spark surge what did you do to flanterm

#

why is it shit now

#

i should write an I226-V driver

#

a zinnia server on real hw + ssh would be fucking funny

spark surge
# near tartan

what are you referring to, exactly? speed, the fact that it no longer autoconverts \n to \r\n, or what?

#

the speed is definitely no WC

spark surge
#

that's intended behaviour

grave peak
#

you kinda have to treat flanterm_write as a serial_write, and any driver even on linux inserts \r for that in the write callback before it goes to the wire

modern hamlet
#

It always just moved to the next line AND reset the column position on \n regardless of whether \r was present or not

#

Has the behavior changed?

near tartan
#

yes

rugged shard
#

yes

#

oi

near tartan
#

i updated it and it did that all of a sudden

near tartan
#

but not on flanterm because it didn't do this before

near tartan
#

ok fixed

near tartan
#

i fixed ttys

somber solar
#

zinux

grave peak
near tartan
#

from the phone trl

#

it's running on my server rn

grave peak
#

Cool

near tartan
#

so far no crashes

#

now i need to check on the server lol

#

rewrite in C soon KEKW

#

the fuck?

marsh holly
near tartan
#

fuck my stupid chud life

#

my allocator so ass ๐Ÿ’€

#

the problem with claude is that it's finding bugs in my trash code left and right

somber solar
#

how is that a problem?

near tartan
#

i keep using it for that nooo

somber solar
#

just don't pay for it anymore :^)

near tartan
#

i won't

#

i bought it for one month

near tartan
#

i need to revisit all usages of mutex/spinmutex

#

there are so many stupid deadlocks in this thing

#

I226-V driver incoming

near tartan
#

i am in the process of rewriting the signal implementation

#

it was quite bad

#

for example SIGSEGVs couldn't be caught, it would just terminate regardless

#

lol

#

now os-test gets quite far

#

i also made sure nothing heap allocates in an interrupt

#

oh and that exposed another polling bug in epoll_pwait()

#

now the xfce-terminal opens without me having to move my mouse to make the window appear KEKW

#

since zinnia can now reliably boot on real hardware, i think it's time to try to connect to sortix irc on real hardware

near tartan
#

I226-V time

near tartan
#

i did connect to sortix irc on real hardware

#

usb time

near tartan
rugged shard
#

technically mbps not mb/s

modern hamlet
#

For physical speed you can say km/h and kmph, or m/s and mps

#

(Although I haven't seen mps anywhere)

somber solar
modern hamlet
#

The difference is not in / vs p, the difference is in Mb vs MB

#

You can see that the b is lowercase in Mb/s

#

If he wrote MB/s, then yeah, that would be incorrect unless it actually refers to megabytes per second

#

It's true that Mbps is the common form of the term "megabits per second", but Mb/s is just as valid

somber solar
#

good to know

near tartan
rugged shard
#

mb then

near tartan
#

*Mb

somber solar
#

lol

rugged shard
#

lol

lofty copper
#

Multiboot trl

near tartan
#

multiboot=bad yes

idle flower
near tartan
#

usb stuff has been started

somber solar
near tartan
#

1000

#

minecraft mods are following SI standards

somber solar
#

based

#

me casually getting one million litres of milk from a cow

marble salmon
#

me when i carry 27 * 64 * 7 tons of iron blocks

lofty copper
#

Me when I get them from a storage cell via a wireless terminal

rugged shard
#

Me when my turbine engine consumes 64000 liters of kerosene a second

idle flower
median forge
#

dont forget that this water is endless

storm bobcat
eternal wharf
#

but a bucket is a blocks worth of water

marsh holly
#

1 cell of liquid is 1 bucket UNLESS its a molten metal or plastic, then it is 144 mb

#

greg logic

eternal wharf
#

i mean the problem is wider than just greg

cyan nexus
eternal wharf
#

or well, it's not really a problem

#

just something i've been thinking about

vast lotus
#

melting a block would give you more than a block worths of that material in liquid form

eternal wharf
#

i guess, but then you need to consider that different metals have different densities?

vast lotus
#

that's true

near tartan
#

omfg

#

my thinkpad has the trackpoint exposed via ps/2

grave peak
#

it probably uses the multiplexed ps2 protocol

#

where u have 2 ps2 mice

near tartan
#

wdym

grave peak
#

it basically allows up to 4 ps2 devices

near tartan
#

i only have one mouse

grave peak
#

touchpad

near tartan
#

on

#

no

#

the touchpad is i2c

grave peak
#

its both probably

near tartan
#

the touchpad doesn't work

#

only the trackpoint

grave peak
#

oh ok

#

or well

#

no

#

you dont implement multiplexed ps2

#

so u dont actually know if it works

near tartan
#

i will check in linux

grave peak
#

linux will use in i2c mode because thats what aml exposes likely

#

im just saying that in legacy ps2 mode u could see one of those exposed

near tartan
#

ig

grave peak
#

because ps2 doesnt allow 3 devs obviously

#

at least on one of my laptops with a trackpoint i have that setup but idk

near tartan
#

omfg it works

grave peak
#

what does?

near tartan
grave peak
#

nice

#

and the kb is ps2?

near tartan
#

yes

#

LMFAO

#

i think i messed up the caching mode of the gop or something

#

I'm getting a solid 1 fps in glxgears

near tartan
#

okay that is fixed

grave peak
near tartan
#

one sec

#

laptop battery died because i left it on accidentally

#

note for later

#

clang somehow creates a textrel dyntab entry on a hello world

#

@grave peak

#

xfce is not a fan of me moving the trackpoint

#

whenever i do it freezes glxgears

#

this should be running with smp too

#

yeah

#

this is so cool

#

i think this is a good picture to put on the readme :D

median forge
near tartan
#

no

#

i want to show that it's running on real hw

grave peak
near tartan
#

@fair lintel btw

#

i saw your msg in unmapped

#

(it was caching)

#

god damn it

#

@hoary cave isn't this the same place where your thing gets stuck?

#

is your pc amd by chance?

hoary cave
#

i have an intel pc lol

near tartan
#

bruh

hoary cave
#

but yeah looks similar

near tartan
#

hm

hoary cave
#

i dont see the rtc print

near tartan
#

might just be initgraph ordering

hoary cave
#

i only see fbcon and discover ap ones

near tartan
#

because i recompiled

hoary cave
#

but yeah

#

is that ur machine?

near tartan
#

it's my epyc server

hoary cave
#

good

#

fix it there

#

and then it'll work for me

#

๐Ÿ‘

near tartan
#

๐Ÿ‘

hoary cave
#

:D

near tartan
hoary cave
#

cool shit

#

how input?

near tartan
#

ps2

hoary cave
#

wtf

near tartan
#

it's emulated

hoary cave
#

bro has working ps2

#

no astral curse

near tartan
#

i finally figured out what broke rust std

#

i was missing fields from mlibc pthread attr

fair lintel
#

the fuck

near tartan
#

so it was backtracing into undefined pointers

#

or well, my test program was

#

but it works now

#

so in other words

#

yet another abi mismatch

#

and i can almost use clang now as well

near tartan
marsh holly
#

Not that its even of as much importance anymore with usb hid

near tartan
#

Asstral
Ironcrash
Spinnia

hybrid island
#

commence r/osdev

near tartan
hybrid island
#

yup

near tartan
#

i mean i don't particularly care

#

i just want to farm a few github stars

hybrid island
#

that I can do

near tartan
#

W

hybrid island
#

Now go star #1514007971762278452 trl

near tartan
#

wth

#

what's that

hybrid island
#

Exactly what it says on the tin

#

It's my GPU project

near tartan
#

but like

#

how

hybrid island
#

On FPGAs of course

near tartan
#

oh

#

makes sense

#

wake me up when pcie

hybrid island
#

But for the time being I have a small box with a screen, ESP32 and an ICE40

marsh holly
hybrid island
#

We'll see I guess

marsh holly
#

I have a feeling the mod of that subreddit has me deboosted or some bullshit because I complained to him once

brisk totem
#

lol

near tartan
#

reddit mod behavior

#

oh fuck me i need to fix the website

#

๐Ÿ’€

marsh holly
#

Idk

shy turret
#

I mean like it exists for a reason

#

If it gets content it helps shrug

near tartan
#

i passed the vibe check

somber solar
#

I ruined my entire history like 2 months ago so the older commits all have that same creation date

#

when in reality I started the rewrite like in december of 2024

near tartan
#

@hoary cave i think i fixed the discover-ap hang

#

i was reading the MADT wrong

#

idk how this code ever worked

#

but basically i was reading beyond the end of the table and looping infinitely if it happens to be zeroed out

hoary cave
#

good job

near tartan
#

riveting i know

#

i'll make an image for you

marble salmon
#

btw marvin you should also re-test Managarm master with the usb and ap fixes

grave peak
grave peak
#

Tru

#

Its covered by unit tests and does bounds validation so its super boring chad

near tartan
#

i should have a kernel test suite for the high level aspects ๐Ÿค”

#

maybe something like user mode zinnia would be cool

grave peak
#

Yep

near tartan
#

that sounds like a really fun idea unironically

#

after i get usb hid working i'll definitely try that

#

@grave peak did you see that one guy hating on zinnia

#

saying "yet another linux os"

grave peak
#

Anything that doesn't have a custom vibecoded crappy gui is Linux compatible, obviously trl

hoary cave
#

its very easy

near tartan
#

oo

hoary cave
#

with a custom test harness

grave peak
#

Yeah you can make a ktest module for example

near tartan
#

yeah i know about the harness thingy, but i was thinking about something that would work nicely with cargo test/CI jobs

hoary cave
#

the harness does work with cargo test

#

that's what it plugs into, literally

#

gives you a slice of test functions you can run

near tartan
#

does cargo get to see which tests fail/succeed in detail?

shy turret
hoary cave
#

no, because you are no_std

#

but you can show the user which tests fail and which pass

#

you get to implement the frontend

near tartan
#

that's harder to expose then

hoary cave
#

not really, you can just output it over serial bro

near tartan
#

yeah but i need to parse the results from there

hoary cave
#

boo hoo

near tartan
hoary cave
#

"i have to write code"

near tartan
#

no that's not what i'm saying

#

a user mode harness would be cooler

hoary cave
#

i guess, but that's so much more work lol

near tartan
#

i guess

hoary cave
#

and you can't run the tests on real hw that way

#

but i guess it's not really needed

#

usermode kernel is useful for other things than testing

near tartan
#

i don't think testing QEMU drivers makes sense in CI

#

more so the core, vfs and stuff like that

magic charm
#

standard response of someone who got osmogged

grave peak
#

So like unit tests but as a normal user app

near tartan
#

then linked it against a portable binary to run the tests

#

since the kernel is technically speaking just a shared library with an entry point

grave peak
#

Yeah

#

All you need is a custom phys to virt impl and page table abstractions for userspace

near tartan
#

if I'm just testing high level code

grave peak
#

Depends on what you want to test

#

Like im doing a full test suite for all of my allocators for example

#

Which requires page_to_virt phys_to_virt and basically everything like that

near tartan
#

I'll have to see what it entails

grave peak
#

Just a custom backend that persistently converts a physical page into some malloced memory or similar etc

storm bobcat
#

Do it

near tartan
#

i ended up on hn

#

@cerulean stream wait is that you?

cerulean stream
near tartan
#

im being overwhelmed with messages lol

near tartan
#

oh cool I didn't know about this site

storm bobcat
#

Lobsters is hackernews but invite only

#

And apparently higher quality but idk

near tartan
#

ah

#

well now i actually need to care about my code quality KEKW

#

after usb i need to clean up my scheduler + signals

storm bobcat
near tartan
#

you will

storm bobcat
#

Most people on HN see cool pictures and description and star

near tartan
#

and i respect people that care about the code

storm bobcat
near tartan
#

exactly

storm bobcat
#

Unironically trl

marsh holly
marble escarp
#

Post #2 on lobsters. Page 2 on HN for me. Good luck. Not too many comments yet on either.

storm bobcat
#

If the post has AI in it it blows up tho lol

marsh holly
#

zinnia: the first AI-ready operating system for the agent age

near tartan
#

yay 200 stars floshed

cerulean stream
near tartan
#

yeah crazy

#

aaaaaand everything is broken

#

who would've thought lmao

cerulean stream
#

Btw I believe this OS had a different name, was it Menix or something like that?

near tartan
#

yes

#

menix sounded too similar to minix

cerulean stream
#

true

grave peak
#

also womenix

near tartan
grave peak
#

you would probably have 500 stars by now if it was a shrek png

silver birch
#

no, you should have had a kernel shell in vga text mode with key commands "1- About 2- Reboot"

median forge
silver birch
#

lol

#

1: Fill gdt
2: Execute lgdt
3: Reload segments
4: Delete os

rugged shard
#

feh --bg-fill shrek.png

near tartan
#

these people are not real

lofty copper
#

Why do you not have IPv6 already?

near tartan
#

because i didn't need it

#

i have yet to do dhcp

lofty copper
#

You don't need dhcp for ipv6

near tartan
near tartan
#

dead project

idle flower
#

๐Ÿชฆ

shy turret
#

Here lies zinnia
You can tell it's zinnia since we put its name on the stone

near tartan
#

i ported git

#

i really wish porting rustc was easier lol

#

the toolchain is the worst part of rust

lofty copper
#

Huh

#

Rustc is easy

near tartan
#

no lol

#

i'm not talking about a cross compiler

#

actually running it on the target

shy turret
#

When did git start using rust?

near tartan
#

what?

#

my rustc rant is unrelated to git

#

i wanted to compile the kernel on itself

#

but it's just not working

shy turret
#

oh lol

near tartan
#

i need to add my target to like 10 different crates

shy turret
near tartan
#

and i don't understand how i can use these patched crates for both cross-cargo and cargo

#

๐Ÿ˜ญ

near tartan
#

AAAAAAAAAAAA

marsh holly
#

trolled

near tartan
#

fuck gnu

#

oh no

marsh holly
#

fell for it again award

near tartan
#

building webkitgtk on a shit vps

#

1680/7070

marsh holly
shy turret
near tartan
shy turret
#

Ah neat

lofty copper
#

If only Jinx supported conditional patches...

near tartan
#

just write your patches in a way that makes them unconditional

lofty copper
#

Because I disable different stuff for different architectures

near tartan
#

that sounds wrong

lofty copper
#

Like I don't build i8042 for RISC-V for example

#

Or only build grub image for x86

near tartan
#

but why would you need to patch anything there

lofty copper
#

I'm not patching anything

#

But it breaks when I have variables in dependencies

near tartan
#

wat

#

i literally don't get what you're talking about

near tartan
lofty copper
#

But it's not patches literally

#

Idk, someone called it that

near tartan
#

im confused

lofty copper
#

Whatever command that the buildbot is calling that gets all packages doesn't resolve the environment variables

#

And it doesn't work

near tartan
#

it runs jinx dry-run "*"

lofty copper
near tartan
#

yikes

#

that's a bug ig

#

but mint isn't available rn

near tartan
#

user mode :D

#

i'll use this as my test harness, instead of booting a qemu

storm bobcat
#

bro stole my idea

#

i invented that

near tartan
#

false

storm bobcat
#

you are infringing on my patent

#

๐Ÿ˜ก

near tartan
#

when did you have that idea

storm bobcat
#

pay me 3 gazillion $

storm bobcat
near tartan
#

i mean it's not entirely a novel idea meme

storm bobcat
#

i shilled it for a year also to infy

#

so maybe you were victim of my shilling unconsciously

near tartan
#

should've added this sooner

#

device tree fancy printing :D

storm bobcat
#

what do you use for timer

#

timerfd?

#

what i do is use SIGALRM for timer interrupts

near tartan
#

so do i

storm bobcat
near tartan
#

zamn

storm bobcat
#

I can run the entire kernel under um

near tartan
#

i can't

#

and i don't want to

#

i just want a barebones CI harness

#

so i can have tests run without a qemu

storm bobcat
#

it has been insanely useful for me

#

especially in early development

near tartan
#

how does it work on linux? ptrace?

storm bobcat
#

in fact the first platform was usermode

#

for what?

near tartan
#

capturing syscall's

storm bobcat
#

I don't do that yet

#

but yes linux uses ptrace i think

#

or something similar

storm bobcat
near tartan
#

real

near tartan
#

i would say my device tree parser/small decompiler works quite well

near tartan
#

i'm looking for dhcp clients to port

hybrid island
#

damn

#

you're so far compared to me ๐Ÿ˜ญ

near tartan
#

as @fair lintel put it: the consequence of not rewriting ten times

marsh holly
near tartan
#

i found some suckless shit that just needs AF_PACKET

#

the alternative is bsd stuff which wants /dev/bpf

#

lol

#

i'm porting sdhcp

#

AF_PACKET is an okay interface IMO

#

actually wait

#

sdhcp works via udp

#

funny

marsh holly
#

dhcp is just udp and some ioctls/sysctls

near tartan
#

good point, i should implement getifaddrs

marsh holly
#

Do it like gloire's sloperated netstack and have dhcp in kernel

near tartan
#

๐Ÿ’€ what

#

why would you do that

#

i might slop ipv6 becvause i don't understand how it works myself

#

but cmon

#

don't do that

near tartan
#

vrother

near tartan
#

do you have ipv6

marsh holly
#

Bro really doesnt want to learn

#

๐Ÿ˜ญ๐Ÿ’€

#

no

near tartan
#

no you misunderstood

#

i want to learn it, but i'll just ask where to find the info and the relevant parts

#

in the rfcs

#

i'm not reading all of it

marsh holly
#

Then thats not really sloping it

#

Imo

near tartan
#

it's still kind of slop because i'm using the slop engine

#

but less slop than gloire

#

i wasn't even going to touch ipv6 until that person opened an issue asking for it

#

lol

marsh holly
#

Wait for ipv8

near tartan
#

brooo

#

that shit is funny

#

what is ts

#

ada is such a fucking ugly language

marsh holly
#

AI slopped ada โ˜ ๏ธ

rugged shard
# near tartan

i was about to mention it but then i remembered to scroll down lmao

vast lotus
near tartan
#

good joke

near tartan
#

i think we're cooking

#

i think the gateway is fucked

#

i can only reach stuff on 10.0.0.0/24

#

lol this is what i get for trying to use "suckless" software

#

(it does in fact suck and doesn't do the dhcp handshake correctly)

#

yooooo

near tartan
#

let's go

sacred plaza
near tartan
#

not my code KEKW

magic charm
#

more like one of those loops from the sonic the hedgehog games

marsh holly
near tartan
#

like i said

near tartan
#

I'll look for an alternative maybe

marsh holly
#

Oh ok so you are slopping but like human slop

near tartan
#

๐Ÿ’€

#

i need something that can work with the SIOCGIF stuff

magic charm
#

possibly udhcp

#

i think that got absorbed into busybox

near tartan
#

hm true

#

but that'd be the only applet I'd use lol

#

i already use gnu coreutils

#

hm

#

do i bite the bullet and just implement AF_PACKET

#

then use dhcpcd

#

oh wait

#

dhcpd is already portable kinda

near tartan
#

dhcpcd with a custom backend

#

looks like it works finally

magic charm
near tartan
#

well the backend wasn't all that complicated tbh

magic charm
#

i forgot what the dhcpcd codebase looked like but i remember the linux backend looking like a mess

near tartan
#

i'm not using the linux backend thankfully

#

the patch is about 300loc

#

most functions i just stubbed

#

you just need a way to do raw packets

#

i do AF_PACKET

eternal wharf
#

zinnia has gone woke

near tartan
#

womenix

rugged shard
near tartan
#

W

#

it's a routerboard rb5009

rugged shard
#

neat

near tartan
#

i also have a crs309

rugged shard
#

oo fancy

near tartan
#

i got it for half price from a colleague

#

all my homelab is now 10g fiber

rugged shard
#

hell yeah

near tartan
#

i should add a driver for my Intel X570

rugged shard
#

im stuck with gbe ๐Ÿ˜ญ

near tartan
#

woe

rugged shard
#

i have a hexS since i dont have any 10gbe stuff and if i want 10gbe i'd probably get a 10gbe switch instead

#

my internet is like 600mbps so it handles it fine

near tartan
#

ironically my internet is 100mbps down

#

40 up

#

but my homelab is a rack of 5 machines which need to talk to each other fast

#

i'm moving all my games to one of them, and my pc just loads them via fiber

#

sure, my actual internet isn't that fast, but anything that happens inside my room is blazing fast ๐Ÿš€

rugged shard
near tartan
#

well

#

you're right about that, but it realistically doesn't make that much difference

rugged shard
#

yeah

near tartan
#

my nvmes are gen5s and 4s

#

so about 14000MB/s read

rugged shard
#

holy shit

near tartan
#

let me grab the box

rugged shard
#

i have 2 gen 3 nvmes in a raid 0 giving me ~5000MB/s

#

and thats not even close to what you have lmao

near tartan
#

mind you this isn't even a raid

rugged shard
#

wow

#

that's fucking quick

near tartan
#

gen 5 is crazy

#

but only one of my servers accepts them

#

the others are all gen3/4

rugged shard
#

ah

marsh holly
near tartan
#

Allow me to flex my wasting of money:

  • Ryzen 9700X, 64GB DDR5, 2TB Gen 5
  • Epyc 7443, 128GB DDR4, 1TB Gen 4
  • 2x Epyc 7402, 512GB DDR4, 1TB Gen 3, 18TB SATA
  • Core Ultra 265KF, 64GB DDR5, 4TB Gen 4 + 2TB Gen 4
  • Radxa Orion O6, 16GB LPDDR5, 1TB Gen 3
#

that's my current homelab

rugged shard
#

he has ram get him!!!

#

wtf do you use 512gb of ddr4 on

#

well it's a server yes but

near tartan
#

porn building packages in tmpfs

marsh holly
#

eat the rich

rugged shard
#

512gb of packages...

eternal wharf
#

mfw porn in tmpfs

marsh holly
#

Seize the means of computing

near tartan
#

i do store all sources, build dirs and build results

rugged shard
#

i mean its fair

#

yeah

near tartan
#

sure it doesn't need that much

#

but i had to populate all channels

eternal wharf
near tartan
#

this is actual server hardware which only takes RDIMMs

rugged shard
near tartan
#

and you get a benefit of you run all 16 memory channels

eternal wharf
near tartan
#

yeah this server has 96 threads

eternal wharf
#

for webkit i think it was (or qtwebengine)

rugged shard
#

i've never owned any server hardware so yeah

near tartan
#

the Epyc 7443 machine has 48 threads, but a significantly better single core perf

rugged shard
#

my "server" has a literal ryzen 5600 and 16gb of ram

near tartan
#

you can get these server cpus for cheaper than you think

#

like ~100โ‚ฌ

eternal wharf
#

well there's one very expensive piece nowadays meme

near tartan
#

they're not expensive anymore because they suck balls

#

it's about as good as a 9950x in MT

marsh holly
rugged shard
near tartan
#

the neat thing about epycs is that you get 128 pcie 4.0 lanes

eternal wharf
near tartan
#

i have like 6 full x16 pcie slots here

#

okay 5

#

I can't count

rugged shard
#

ig the nvmes take up a bit

near tartan
#

no they have their own slot

#

and you have an mcio port for that

rugged shard
#

hmm yeah i did the math and realized lmao

near tartan
#

If you want to look it up, this is a Supermicro H12SSL-NT

#

there's some really cool I/O on this

#

stuff you've probably never heard of

rugged shard
#

1000eur second hand ๐Ÿ’€

near tartan
#

and of course an ipmi kvm bmc

near tartan
rugged shard
near tartan
#

i paid 650โ‚ฌ brand new

rugged shard
#

bruh

#

ebay scamming ppl now ig or smth

near tartan
#

brother is looking on google

#

im crine

rugged shard
#

lol

#

nah actually the first result was this

near tartan
#

okay wait stf

#

wtf

#

I'm lucky

rugged shard
#

what in the actual fuck

near tartan
#

that's fuckign crazy

marsh holly
#

You vill own nothing and ve happy

near tartan
#

ironically

#

yall know about LPCAMM2

eternal wharf
#

what about it

near tartan
#

i bought 32gigs when they announced the framework 13 pro for 250โ‚ฌ

#

next day sold out everywhere, last know price over 800โ‚ฌ

near tartan
#

there are legit 0 offers for lpcamm memory here

eternal wharf
#

lmao

#

bro bought the last 2 lpcamm2 modules

near tartan
#

the 7402s are dual socket

storm bobcat
#

ah so like 96t total?

near tartan
#

ye

storm bobcat
#

pretty cool

#

run zinnia on it

near tartan
#

i did

#

it works perfectly fine

storm bobcat
#

no NUMA?

rugged shard
near tartan
#

real men suffer slowdowns instead

eternal wharf
#

just write your programs better

near tartan
#

fr

#

malloc_on_cpu(0, ...

storm bobcat
#

that kinda hardware sounds fun to do tests on

near tartan
#

it is

#

i can load isos from the web ui

#

it emulates a thumb drive

storm bobcat
#

if i had server grade stuff like that I could properly benchmark concurrency stuff

near tartan
#

you can get x99 boards for really cheap

#

like sub 100usd

#

lga2011

storm bobcat
#

yeah I know

#

run this on it meme

#

but change the code to use like 96 threads instead of 12

storm bobcat
near tartan
#

oh yeah

#

my epycs are low power asf

#

they idle around 60W

storm bobcat
#

cool

near tartan
#

which is what they're designed for ig

#

threadrippers are very similar, but just don't idle as well

storm bobcat
#

threadrippers are so cool

#

wish i had one ๐Ÿ˜”

near tartan
#

you can get first gen ones really cheap

#

or second gen even

#

i see cpu+mobo combos for about 300โ‚ฌ

#

the biggest problem you'll have is that they only take rdimms

storm bobcat
#

at that point get a ryzen 9 tho

#

no?

near tartan
#

wdym

storm bobcat
#

some ryzen 9s have 16 cores

#

the point of getting a server CPU is more cores

#

but ryzen 9 is a consumer CPU and has 16 cores

near tartan
#

and IO

storm bobcat
#

yeah sure

#

but moar cores = moar better

near tartan
#

eh

#

the 7443 with its 48 threads is just as fast as a 9950x in coremark

storm bobcat
#

the only reason id get server hardware is for cores

#

idrc about IO

near tartan
#

128 lanes are cool tho

#

you can plug in a lot of shit

storm bobcat
#

GPU cluster

near tartan
#

like a 40g nic, multiple gpus at full speed, nvme bifurcation cards, etc

storm bobcat
#

56 cores holy

near tartan
#

there's better ones

#

there's ones with 192 threads

storm bobcat
#

need

#

can u do -j96 on zinnia or not

near tartan
#

you mean on smp boot?

storm bobcat
#

yeah

near tartan
#

i can boot all 95 APs

#

i can also disable xapic mode

#

it's kinda funny

#

managarm couldn't cope with it until i fixed it

storm bobcat
#

no but like

#

zinnia can run make right

near tartan
#

yeah

storm bobcat
#

could you compile something with -j96 without it being dogshit slow

near tartan
#

I'd have to try

#

I'm going to finish usb mass storage today maybe, then i can easily create and test stuff on real hw

#

I'll let you know

storm bobcat
#

implement xhci in zag meme

near tartan
#

but even on -j1 my kernel runs gcc quite fast meme

storm bobcat
#

yea but my point is parallelization not speed

#

it might be slower at -j96 than like -j4

near tartan
#

i could imagine that my tlb shootdowns are that bad

#

i have never tested

#

i only know it runs well on -j20

#

on my pc

storm bobcat
#

well that's good

#

ig a way to measure scalability is how performance scales (who would've thought?)

near tartan
#

i should follow that paper you linked

#

sounds fun

storm bobcat
#

no

#

it sucks

#

or rather

#

my thing is better

near tartan
near tartan
storm bobcat
#

managarm also does async shootdowns

#

you might want to steal their design too

#

#1485107693458030706 message

near tartan
#

uh

storm bobcat
#

that's how it works

near tartan
#

how do i say this

#

i already do

#

then my shootdowns are also async KEKW

#

minus asids

#

i guess not really then

#

i hacked together an impl that works quite well

#

but i don't understand why it works

#

look at the blue cable

near tartan
#

then nvm

storm bobcat
#

your design could still be made asynchronous though

near tartan
#

i think i didn't do it because of that munmap thing

storm bobcat
#

it's basically asynchronous but you bolted synchrony on it

near tartan
#

but if i don't need to care if shouldn't be ab Problem

storm bobcat
#

my design is roughly similar to that

#

IPIs are not strictly needed, you just have to do it periodically (I do it on every quiescent state)

storm bobcat
near tartan
#

it probably is better, because mine isn't very well thought out

storm bobcat
#

well yours is from managarm

#

and managarm's is from korona

#

and korona has a phd

#

vs 18 yo with no degree ๐Ÿ’€

near tartan
#

phd code mutilated by an idiot

near tartan
#

i am a state certified SWE tho

storm bobcat
#

here you cant be an engineer without a degree

#

or rather

#

you can't hold the title

near tartan
#

my title is "Fachinformatiker Anwendungsentwicklung"

storm bobcat
#

you could've mashed your keyboard and I wouldn't have known

near tartan
#

put it in google or let chatgpt explain it

#

it's a Germany only thing

storm bobcat
#

IT Specialist in Application Development

marsh holly
#

โ˜ ๏ธ

near tartan
#

by stealing from astral bruh

#

i told you

marsh holly
#

Yeah but I wpuldve expected tvat to take longer

near tartan
#

i have been working on it for 2-3 weeks i think

#

i started before czapek started playing cs2 24/7

marsh holly
#

Yeah bro just vanished from the vcs

near tartan
#

he was in a few days ago

#

me implementing yet another linux api just to get kde to compile

marsh holly
#

BSD larp (uBuntu Software Distribution)

near tartan
#

fr

#

well, i just implemented net/bpf.h

#

that's about as bsd as it gets

#

whenever I'm working on my mlibc abi i see AF_BLUETOOTH and it makes me wonder what the bluetooth stack looks like

marsh holly
#

Why do you need that for kde bruh

near tartan
#

dhcpcd

marsh holly
#

What linux api are you implementing fir kde

near tartan
#

some kankerfd i forgor what it's called

#

I'm basically going through dennis' kde prs

#

and translating to jinx

marsh holly
#

๐Ÿ’€

near tartan
#

do you want me to CBT myself by doing it from scratch

storm bobcat
near tartan
#

well

#

i proably won't port sddm tho

#

as i already have lightdm

marsh holly
#

port xdm

near tartan
#

the x stands for good

near tartan
#

naw

#

that will require me to do even more linux VT/elogind kanker

marsh holly
#

U already implement a bunch of linux stuff might as well do it

near tartan
shy turret
near tartan
rugged shard
# shy turret port SDDM

While at it make the default theme be the one my school computers have from the gov distro trl

#

Fuck you Android

nocturne rampart
near tartan
#

lol

cerulean stream
near tartan
#

๐Ÿ˜ˆ

shy turret
#

Don't give me the ram, il end up eating it.
Plus I have uh 32 + 16 + 16 + 16 + 16 + 8 + 8 + 2 gigabytes of anyways in my hands anyways heh_face

cerulean stream
near tartan
#

bruh

cerulean stream
# shy turret In this economy?

I used to have it on my laptop way before the RAM crisis, when I built my PC I couldn't afford to buy new RAM so I ended up taking it from my laptop

fair lintel
#

this guy

#

why is this an int if you only ever return 0 or -1

near tartan
#

good point

#

i forgor

#

anything else

fair lintel
#

I don't think I have much else to say

#

using frg::string and string_view would have been nice, but whatever

near tartan
#

i am too far rust pilled

#

i mean sure

fair lintel
#

I wouldn't bother rewriting it to that now tho

near tartan
#

okay

fair lintel
#

what we may want to do at some point is to provide "default" impls for this that you can switch to with some meson flag

near tartan
#

in what way?

fair lintel
#

which would be implemented in terms of e.g. netlink or BSD socket ioctls

#

so that you would just opt into one of those instead of having to roll this yourself

near tartan
#

yeah

fair lintel
#

getifaddrs is actually a good example of this, there's a good chance that most sysdeps use one of the two mechanisms anyway, otherwise they'd have to write it themselves

near tartan
#

should be fixed now

marsh holly
#

@near tartan if I cooked up a generenic pkill/ps/etc implementation and made it generic/use sysctl (so no /proc brain damage) would u use it

near tartan
#

yeah

marsh holly
#

cuz u can't use procps-ng cuz that needs /proc brain damage

#

bet

near tartan
#

uhhhhhh

#

(it doesn't work)

#

thank you to dennis for the recipes

#

oh bruhhh this is a DRM meme

#

nooooo

#

tfw

#

miscompilation

#

me when startplasma hard codes some systemd shit

#

fuck that

coarse pumice
marsh holly
#

want to port systemdslop
complains that it wants systemd

#

smh marvin

modern hamlet
#

And 5 whole great rigs

#

What the hell man

modern hamlet
median forge
near tartan
#

no like, startplasma.cpp has some systemd code in there

median forge
#

a

#

then

#

F

marble salmon
near tartan
#

no

#

this was a draft pr by me

#

but it wasn't merged

#

i think?

#

or are you talking about something else

fair lintel
near tartan
#

that's in the linux sysdep

#

iirc the getifaddrs sysdep is gated behind linux

#

and my patch moved it out but there were some comments left to address

fair lintel
near tartan
#

they idle very low

near tartan
modern hamlet
#

in fact i bet you could buy a second hand car with the price of two of those

near tartan
modern hamlet
#

makes sense

near tartan
#

used too

modern hamlet
#

that extra thousand euros per month (or more) really coming in handy, huh

fair lintel
near tartan
#

๐Ÿ‘€

fair lintel
#

it's really not that bad

near tartan
#

if the linux option is disabled probably

fair lintel
#

huh

#

oh that's fucking annoying

near tartan
#

i need to fix my risc-v port

near tartan
rugged shard
#

everyone be getting kde running now huh

near tartan
#

mlibc users stay winning

fair lintel
silver birch
#

what is left for mlibc at this point

near tartan
#

gnome

silver birch
#

you have systemd, chromium, kde

near tartan
#

and upstream

marsh holly
#

wine and minecraft

near tartan
fair lintel
#

managarm had some of wine working before astral tho meme

near tartan
#

kde isn't that bad to port if you pretend to be a bsd or linux tbh

fair lintel
#

(it was quite limited tho)

marsh holly
#

the wine managarm has is completely lobotomized

#

it doesn't even enable mingw

silver birch
#

if you get gta 3 and gta san andreas running in wine with hardware acceleration using the nvidia module

#

im instantly uninstalling linux

storm bobcat
silver birch
#

firefox too?

storm bobcat
#

idk I dont think they have firefox yet

near tartan
#

yes we do

storm bobcat
#

I was answering "what's missing?"

silver birch
#

no

near tartan
silver birch
#

that's a list of things

#

running

#

ah wait nvm

near tartan
silver birch
marsh holly
#

thanks to chatgpt

storm bobcat
#

ok so what is left then

near tartan
#

gnome

#

and upstreaming everything for linux

silver birch
#

year is 2032

sick flax
#

and unclankering firefox

silver birch
#

mlibc has taken over glibc

sick flax
#

but time

silver birch
#

uacpi has taken over acpica

sick flax
storm bobcat
#

has rust been ported yet?

near tartan
#

yes

storm bobcat
#

zig?

near tartan
#

no

#

but it's not upstream

fair lintel
#

nobody bothered with zig yet, lol