wolf

joined 1 year ago
MODERATOR OF
[–] wolf 3 points 3 months ago* (last edited 3 months ago) (2 children)
  • Finch - Say Hello to Sunshine
  • Paledusk - Palehell
  • Faith no more - King for a day, fool for a lifetime
  • Smashing Pumpkins - Mellon Collie and the Infinite Sadness
  • Philipp Glass - Glassworks
  • Henryk Mikołaj Górecki - Symphony of sorrowful Songs
  • Fear Factory - Obsolete
  • At The Drive-In - Relationship Of Command
  • Boy sets fire - After The Eulogy
  • Refused - The Shape of Punk to come (not a fan after their sell-out-reunion, but the album is still great)
[–] wolf 2 points 3 months ago

Nice, thanks a lot, especially the dirty_bytes settings are interesting to me, because I experience hangs with too much disk IO :-P.

Cheers!

[–] wolf 1 points 3 months ago (2 children)

Could you ELI5 the last five settings? I saw that Chrome OS sets vm.overcommit_memory = 1, it seems to make sense but is missing here.

[–] wolf 1 points 3 months ago (4 children)

Thanks a lot! You are right, I saw this already.

I can confirm the findings with my benchmarks: zstd has the best compression, lz4 is the fastest.

[–] wolf 13 points 3 months ago

FreeCiv is a classic and still fun. rogue and nethack are good, too.

[–] wolf 3 points 3 months ago (1 children)

To my understand it is swap read-ahead, and the number is a power for the base 2. This means the default reads 2^3 = 8 pages ahead. According to what I read, the default of 3 was set in the age of rotating discs and never adapted for RAM swap devices.

[–] wolf 2 points 3 months ago (3 children)

Thank you for your answer and your insights.

In my unscientific tests, sysctl/vm.page-cluster made a measurable difference (15% faster when setting it to 0), and it seems everyone else (PopOS, ChromeOS) tweaks at least this setting with ZRAM. I would assume the engineers at PopOS/ChromeOS also did some benchmarks before using this settings.

Now I really would be interested, if you would measure a difference on your 1gb potato SBCs, because IMHO it should even have a bigger impact for them. (Of course, your workload/use cases might make any difference irrelevant, and of course potato SBCs have other bottlenecks like WiFi/IO, which might make this totally irrelevant.

[–] wolf 29 points 4 months ago (1 children)

there is no android phone that I am passionate about,

Not what you asked for:

A phone is a tool which should enable you to do stuff. Be passionate about friends, hobbies, art, not a piece of plastic.

Being forced to use iOS (work phone) and Android (Samsung, also work), both suck IMHO but Android sucks less.

My next Android will be a Pixel, as others suggested custom roms are the way to go, but even vanilla Android is more functional/open/practical for my needs than iOS.

I would never buy Apples shit with my own money: Dumped down, locked down and in the end you are renting a device from Apple to pay fees for their Appstore and Cloud offerings and vendor lock in. No thanks.

[–] wolf 2 points 4 months ago
  • Another vote for "Slay the Spire", have bought it for all platforms and wasted too much of my time
  • Horizon Chase Turbo is a very good arcade racer
  • Danmaku Unlimited 2 and Danmaku Unlimited 3 for bullet hell shmups

Not arcade style, but Final Fantasy I-VI pixel remasters are IMHO great on phones.

[–] wolf 1 points 4 months ago (1 children)

Good points, but again: I would assume advertisers track/fingerprint you anyway, so we are not speaking about getting anonymized information from Mozilla but IMHO we are speaking about getting one more data point about you, which is easy to de-anonymize in combination with the rest of the information known about you.

[–] wolf -2 points 4 months ago

Fair question. First move for Mozilla: Fire the whole fucking leadership team and use the millions saved for some more developers working on Firefox. That should finance the next 2 years, afterwards we can think about next steps. :-P

 

I am playing around with Fedora Silverblue and openSUSE Aeon and I really like the painless updates.

Still, my daily driver for some years now is Debian, and I have a decent setup via Ansible - everything just works for me.

My question is mostly to long term Linux users, which use Linux in a professional context and jumped from a distribution like Fedora, Ubuntu, openSUSE or Debian to NixOS, Silverblue, Aeon etc.

What is your experience? How did your workflows change on your immutable Linux distribution? Did you try immutable and went back to a more traditional distribution - why? How long are you running the immutable distribution and what issues and perks did you run into?

 

At the moment I am using Debian Bookworm and I can setup/configure 100% of my setup automatically everything via Ansible. (Only thing left after the Ansible script is login to my online accounts/email which I would rather not automate.)

Is there a way/does anyone have this working/running on Silverblue?

To be more concrete: After I install Silverblue with default settings, I want to automatically install all needed flatpaks, configure them (and link configuration files to a github repository) and also setup some toolboxes for development. With one command/step, like running Ansible.

 

Google enables advertisers a look into your browsing history...

399
ZRAM is insane (www.kernel.org)
submitted 1 year ago* (last edited 1 year ago) by wolf to c/[email protected]
 

I got a cheap netbook style laptop for traveling some weeks ago (HP Stream 11" with 4 GB of RAM and a N4120). Didn't expect much more from this hardware than opening a few browser tabs and doing some retro gaming via Steam.

Shared RAM with graphics card means that 3.64 GB of RAM are effectively usable for the OS. This was even too little RAM to open a handful of tabs w/o having tabs being unresponsive for seconds sometimes in a very annoying way. Another thing which made trouble was the Wifi - I guess it went into power saving, was swapped and didn't load fast enough to provide a good experience. (Of course I wasted an hour checking for Wifi drivers/support.)

In short: Even for my low expectations for this laptop it was an underwhelming experience.

First step was to look at my vm.swappiness and set it to 10, which already helped, but still the machine had hiccups and annoying timeouts.

In a last, desperate effort I enabled ZRAM on the laptop... and literally WTF: Saying it is a night and day difference doesn't do the experience justice. Typing this words now on the Stream, which I use exactly the same way as my much more beefy other machines (my next worst computer has 8G of RAM and an Intel Core i3), browsing with 10 open tabs, e-mail client open on another virtual desktop... it is crazy, it makes the Stream fun to use and I use it at home for everything which isn't heavily CPU/IO bound.

What surprised me the most: No hiccups, no timeouts and it even fixed the Wifi issues on this little machine. Didn't expect this would be possible, especially with a N4120 and 3.64 GB of RAM.

In short, my laptop changed from not even reaching my low/realistic expectations to being my favorite technical purchase of the last years, thanks to ZRAM.

Besides making this a ZRAM appreciation post, I really want to spread the word about it. Especially for old hardware and limited RAM situations, IMHO it should be the first thing which comes to mind/is recommended.

Fedora and PopOS use it by default, so it is well tested and should IMHO again, be a default at least for desktop setups.

Give it a try - supposedly it even improved the experience on much more beefy computers for gaming etc.

 

I bought a HP Stream 11 laptop with an N4120 / 4 GB Ram and 64 eMMC / sd card reader for traveling and one of the main selling points for me was the sd card reader to extend the internal storage easily.

Using Debian 12 / Kernel 6.1 I installed everything but /boot and the EFI partition on a reasonably sized (512 GB) sd card. By default I use nowadays Btrfs with transparent compression and noatime as my root filesystem, so this is what I used on the sd card, too.

I pulled an update for a git repository, around 100 MB in binary files (don't ask) to the laptop, and basically the update was received and afterwards for several minutes there was no progress. When I checked what was going on with htop I saw several Btrfs housekeeping processes working on the sd card and by that time I simply shut down the laptop. (My fault, I didn't record which processes exactly.) RAM was okay (no swapping). The sd card also had much more than 10% free space for Btrfs. Additionally, the git pull did not update any files, so copy on write was not triggered.

After this experience I reinstalled Debian on the sd card, but his time with ext4/noatime. I pulled the exact same git repository, with 400 MB of new binary data, and git pull finished w/o trouble in less than a minute.

I am tech aware enough to set the 'C' attribute for virtual machines on Btrfs and run Btrfs on all my physical and virtual machines for several years now.

My deployment is 100% automated via Ansible, so I am sure the only change was Btrfs -> ext4.

I try to understand, why Btrfs performed so much worse than ext4 for me on exactly the same hardware and for the same workloads. Any explanations or pointers to places to find answers are very much appreciated!

 

After years of using Gnome 3/4 with a modified setup on Debian, I returned to Xfce, and am quite impressed by the state of Xfce 4.18.

My background: Using Linux since 1998 or so (yes, I am old) as my main OS, I used a lot of different window mangers and DEs.

Gnome 3 actually never really matched my personal workflows, but I always discovered many paper cuts using other desktop environments and thanks to dconf at least I could automatically configure Gnome 3 in a way which made it usable for me.

For life reasons I needed a cheap, small sub notebook (or netbook, as it was called when I was younger), and settled on the HP Stream 11 with an N4120. No way to run Gnome on this machine and work fluently, so I recalled that Xfce was at the sweet spot between being full featured, fast and light on memory. (+stable and Gtk+ based, KDE hasn't been an option for me since 3.5 and I check it regularly.)

I got more than I bargained for, Xfce felt so quick, responsive, good and simply sane that I run it now on every Linux desktop/laptop I own. (But my entertainment system, which I only use for Netflix.)

What I really like about Xfce 4.18:

  • Speed and responsiveness, even on my beefy machine I feel the difference
  • Sane size of titlebars etc.
  • Customizable panels out of the box and xfce4-panel-profiles for 1 click setups
  • Thunars split view. I get tired by the Gnome developers, who removed this feature from Nautilus, explain that two Nautilus windows side by side are equivalent to a split view. It is not
  • Ansible support for xfconf out of the box to automate the deployment of my configuration
  • Light on RAM: Around 400 MB vs a little above 1 G for Gnome
  • Everything I need for my DE is included, no search for plugins which might or might not fix my problems
  • Useful and fast default applications (Thunar, Mousepad, Parole...)
  • After tweaking the hotkeys/shortcuts a little bit a perfect keyboard driven experience

So far the only 'downsides' I have with Xfce 4.18 is the lack of Wayland support (AFAIK coming with 4.20), the Terminal does not resize the text area if you add new tabs (easily fixed by configuring it to always show the tab bar in the terminalrc) and the type-ahead launchers (whisker-menu, xfce4-appfinder) are 'weaker' than the type-ahead launchers in Gnome/KDE.

Big shout out to the Xfce developers for this excellent desktop environment!

tl;dr: If you haven't used Xfce for some time, give Xfce 4.18 or later a try, you might like it.

 

Found on hacker news.

19
submitted 1 year ago* (last edited 1 year ago) by wolf to c/[email protected]
 

Sorry, new to Lemmy - [email protected]

 

Back then I played Warcraft 3 ladder games and I hit my skill ceiling quite fast because my micro was simply too bad/slow. I still very much enjoy real time strategy games. Is there any real time strategy game that is played competitively with an active community where micro is not that essential? (Ruling out Star Craft 2.) Besides real time strategy games, what other games are out there being played competitive with an active community and where clicks-per-second are not too important?

view more: ‹ prev next ›