• 1 Post
  • 27 Comments
Joined 6 months ago
cake
Cake day: June 9th, 2024

help-circle
  • really effects performance that much

    Depending on the exact flags, some workloads will be faster, some will be identical, and some will be slower. Compilier optimization is some dark magic that relies on a ton of factors, but you can’t just assume that going from like -O2 to -O3 will provide better performance, since the optimizations also rely on the underlying code as to what they’ll actually make happen… and is why, for the most part, everyone suggests you stop at -O2 since you can start getting unexpected behavior the further up the curve you go.

    And we’re talking low single digit performance improvements at best, not anything that anyone who is doing anything that’s not running benchmarks 24/7 would ever even notice in real world performance.

    Disclaimer: there are workloads that are going to show different performance uplifts, but we’re talking Firefox and KDE and games here, per the OP’s comments.

    Also they do default to a different scheduler, which is almost certainly why anyone using it will notice it feels “faster”, but it’s mainlined in the kernel so it’s not like you can’t use that anywhere else.









  • Oooh, ooh, I get to use my favorite theory on the internet!

    So I don’t think it’s a violence vs pacifism fight, but rather the VERY clear fact that the Federation is technologically superior to all the antagonists they’ve had to deal with.

    So much so that they willingly disregarded research into certain military technologies via treaties simply because they didn’t need them, and were very certain they’d be on the top of the heap even without them.

    And it’d be why, when the Romulans returned, there was an implied ‘Well fuck!’ when they saw what a warbird looked like now, and that it was on par with the best the Federation was fielding.

    So back to the technological superiority bit: Q actually says this before tossing the Enterprise to the Borg. Everyone was smug, because they knew they were superior to the Cardassians and Klingons and to some extent, even the Romulans still.

    The Borg was a nasty wakeup call that, no, they’re not some pinnacle of engineering might but still on the bottom of the barrel and just deluded because everyone who happened to be neighbors were worse but that was only a fluke of uh, geography.

    And for that theory: Q tossed the Enterprise at the Borg because he’s a fan of humans for some reason, and that was an easy way to force a massive military buildup and thus the only way the Federation had even the slightest chance against the Dominion.




  • two commands: dd and resize2fs, assuming you’re using ext4 and not something more exotic.

    one makes a block-level copy of one device to another like so: dd if=/dev/source-drive of=/dev/destination-drive

    the other is used to resize the filesystem from whatever size it was, to whatever size you tell it (or the whole disk; I’d have to go read a manpage since it’s been a bit)

    the dd is completely safe, but the resize2fs command can break things, but you’d still have the data on the original drive, so you could always start over if it does - i’d unplug the source drive before you start doing any expansion stuff.