4,764 karma · joined Apr 27, 2007 (19y ago) · 3,052 submissions
comment 1w ago · link · parent
comment 1w ago · link · parent
I've seen NUMA cache line contention affecting us for real (on Windows, for our game tools). Limiting certain tools to run locked under one NUMA node helped a lot. It's real.
The updated CoreInfo https://learn.microsoft.com/en-us/sysinternals/downloads/cor... shows this well
comment 1w ago · link · parent
We saw with our own tools back when an artist were given a low-core "server" like machine with many CPUs (good we thought), and 2 NUMA nodes, and suddely the level editor for our game was running much slower. We could blame std::shared_ptr<> all day long, or similar but it's there and it was real.
Tried the 4kb interleaved paging, but then everything was equally slow. At the end we simply blocked the App to run only on one NUMA node (still using memory from the other one), and things were back to "normal". "Normal", because promises were not kept - we could not use all CPUs.
comment 1mo ago · link · parent
If the host needs to load several of these .wasm, compiled with goose, then it'll have to run them in separate (browser) instances too (or maybe that's how wasm works by default - not sure).
It just got me thinking - the languge is prepared to translate into javascript workers, because it's really single threaded by nature with communication between threads (or put in the dart languages term "isolates"), which makes them perfect for the browser, now the only question is the memory layout.
comment 1mo ago · link · parent
I guess there would be some penalty to be paid here for smaller pages, but being mostly contigous might also help some.
That to be said, such language seems to require 64-bit virtual address space in order to function reasonably, right?
Also a .dll written in it might not be the best suited, for example if loaded in the middle of fragmented virtual address space it may need to find itself hard to allocate N contigious data stacks (do they absolutely have to be contiguous, what if they are simply ropes or deques or connected chunks ... obviously if some data structure requires to be contigous that would be a problem, but maybe this can be expressed somehow.... or maybe I'm overthinking here).
Super excited about this!
comment 1mo ago · link · parent
But sounds great for 64-bit user space, with enough (48-bit, or more) virtual addressing available. Obviously one can hit some snags if for some reason quite large allocations has to be done, but maybe one has to rethink that too.
I'm starting to fall in love with this approach ;)
comment 1mo ago · link · parent
comment 1mo ago · link · parent
comment 1mo ago · link · parent
That reminds me of Dart Isolates - https://dart.dev/language/isolates
comment 1mo ago · link · parent
https://github.com/NVlabs/flip
But also SSIM, perceptualdiff, and many others
For UI/web certain other methods are better, for video - I'm sure there are prefferences there too.
23.
Themeable Lightweitght Spotify Player(github.com ↗)
2 points · by malkia · 1mo ago · 1 comment
comment 2mo ago · link · parent