• 0 Posts
  • 19 Comments
Joined 1 year ago
cake
Cake day: December 22nd, 2023

help-circle

  • It is for generated data, like a JSON API. Static content is often pre-compressed though, since there’s no reason to do that every request if it can be done once. Compression formats is largely limited to whatever the client supports, and gzip works pretty much everywhere, so it’s generally preferred.

    yeah, if the page is dynamically generated, you would likely live compress it, but it would also be so little data that the cpu overhead would be pretty minimal, and you could still cache the compressed data if you tried hard enough. For something like steam where you’re effectively shipping and unpacking a 50-200gb zip file, there’s no reason not to statically compress it.

    I’m not really sure how latency is related for FS operations. Are you saying if the CPU is lagging behind the read speed, it’ll mess up the stream? Or are you saying something else? I’m not an expert on filesystems.

    it’s important because the entire system is based on a filesystem, if you’re doing regular calls to a drive, in high quantity latency is going to start being a bottleneck pretty quickly. Obviously it doesn’t matter much on certain things, but after a certain point it can start being problematic. There’s practically no chance of corruption or anything like that, unless you have a dysfunctional compression/decompression algorithm, but you would likely expect system performance to be noticeably slower in disk benchmarks specifically. Especially if you’re running really fast drives like gen 4 NVME ssds. Ideally, it shouldn’t be a huge thing, but it’s something to consider if you care about it.

    There are two primary things to consider when making a functional file system, one is atomicity, because you want to be able to write data, and be certain that it was written correctly (to prevent corruption) and you want to maximize performance. File IO is always one of the slowest forms of interaction, it’s why you have ram, yes, and it’s why your CPU has cache, but optimizing drive performance in software, is still free performance gains. That’s an improvement that can make heavy read/write operations faster, more efficient, and more scalable. Which in the world of super fast modern NVMEs, is something we’re all thankful for. If you remember the switch from spinning rust, to solid state storage for operating systems, you’ll see a similar improvement. HDDs necessarily have really bad random IOPs performance, they literally physically find the data on the disk, and read it back, it’s mechanically limited, this increases latency considerably. And SSDs don’t have this problem, because they’re a matrix of registers, so you can get MASSIVELY uplifted random IOPs performance from an SSD compared to a hdd. And that’s still true today.


  • That honestly sounds like a good feature to request imo.

    it would be a great feature, and considering i own like 10 games, and there are people out there who own like, 200, i’m honestly shocked this wasn’t immediately included? I feel like this is such an obvious thing. i would be surprised if somebody hasn’t already requested it.

    Are you on the steam beta? I’ve generally had a better experience there.

    no, i’m on stable, because i like my software to work, though maybe i should fuck around with my steam install sometime.

    You could also try the low performance setting in steam. (steam settings > library > low performance mode)

    i could, but im running a 1070 and a 5900x, im pretty sure it’s not a hardware limitation. But i might mess with that later.


  • the server isn’t live compressing it, it’s pre compressed binaries being shipped hundreds of thousands of times over, in most cases. Compression is primarily to minimize bandwidth (and also speed up downloads, since the network speed is usually the bottleneck) you can either cache the compressed files, or do a gated download, based on decompression speed.

    Usually, most disks are faster than any network connection available, so it’s pretty hard to hit that bottleneck these days. HDDs included, unless you’re using SMR drives in a specific use case, and definitely not an SSD ever.

    Although on the FS side, you would optimize for minimum latency, latency really fucks up a file system, that and corrupt data, so if you can ensure a minimal latency impact, as well as a reliable compression/decompression algorithm, you can get a decent trade off of some size optimization, for a bit of latency, and CPU time.

    Whether or not fs based compression is good, i’m not quite sure yet, i’m bigger on de-duplication personally.




  • on a per game basis? Last i checked you could only enable it for all games, or no games. I don’t want to manually skip compilations, i want to select a list of games that automatically compile shaders, i don’t want beamng to compile 70gb of shaders because it got an update this week, unless i’m going to play it, but something i play more frequently like factorio, i would like for that to be a regular function.

    I’m fairly sure it’s driver related, but steam is built on electron, and chrome/firefox work perfectly fine, and so does discord electron, so my only guess is that nvidia driver gaming is happening. Or steam has the single most incompetent installation of electron across any software i use.

    I have no idea why only steam would be affected. That just doesn’t make any sense.

    Electron has gpu suppport by default so it shouldn’t be laggy.

    doesn’t seem to matter whether it’s enabled or not, it performs like shit, idk why. Again, firefox and chrome are fine, discord is fine (it still runs like shit, but it’s discord, that’s normal)



  • i haven’t because it’s been a completely unusable buggy mess ever since i’ve installed it, and it transitioned to electron, routinely uses 1gb of ram, 2gb on bad days. That’s 2 whole USD wasted, and that’s the price of CHEAP ram.

    Graphics just don’t work, that might be an nvidia problem to be fair, menus are broken, buttons haven’t worked, refactoring the UI seems to make it slower. Scrolling a literal single web page is practically unusable due to lag and stuttering. If you use proton, and auto shader compilation, it’s useless because you can’t even configure how you want it to be run. Don’t want to compile 12gb of shaders for a game that’s 200GB? That you play 2 times a year? Get fucked.