PseudoSpock,
@PseudoSpock@lemmy.dbzer0.com avatar

Filesystem level encryption enabled on RHEL. For some damn reason, they turn it off in their kernel.

Rikj000,
@Rikj000@discuss.tchncs.de avatar

I run [linux-xanmod-anbox]aur.archlinux.org/packages/linux-xanmod-anbox) for root support in Waydroid (Android on Linux).

And I configured my kernel to support VFIO (Virtual Function Input Output).
So I can fully pass through one of my GPUs to my Ameliorated Windows KVM,
which I use for both work and gaming.

taaz,

Hows the perf in the VM?

Rikj000,
@Rikj000@discuss.tchncs.de avatar

Amazing, basically native speeds,
currently playing Horizon Forbidden West with maxed out graphics and DRS disabled at a steady 60-80 FPS.

Previously I also played Horizon Zero Dawn in it, also maxed out graphics, steady locked 100 FPS,
below is a benchmark comparison of HZD in the Linux host OS and the Windows KVM guest OS:
workstation-gaming-linux-vs-windows

warmaster,

Amazing. Does Photoshop work ?

Rikj000,
@Rikj000@discuss.tchncs.de avatar

Yush, it does under the KVM :)

xnx,

Is there an easy way to run this for photoshop? GUI if possible

Rikj000,
@Rikj000@discuss.tchncs.de avatar

No easy way to set it up I’m afraid.

But if you’re interested,
I posted all the bookmarks I made, with tutorials and tools, when I set mine up here:
discuss.tchncs.de/comment/9245159

ikidd,
@ikidd@lemmy.world avatar

Has this gotten any easier to do? I set it up a few years ago, it was painful to do and maintain so I let it slide. You were writing all sorts of scripts to specify the passthrough devices and then they’d stop working so you had to track down what was failing and update. Then there was iommu so you had to be careful which groups you added devices to.

Rikj000,
@Rikj000@discuss.tchncs.de avatar

Gotta admit, it was very hard to setup initially.
However it’s been working perfectly ever since I did.
Been using it for about a year or 2 now.

Also when I linked the Arch wiki,
I noticed in it’s article that there’s now a gpu-passthrough-manager,
which will likely make the process of setting up a little bit easier.

Pantherina,

Root Waydroid lol, thats basically hell.

Waydroid without SELinux already removes all the Android sandboxing. Now its rooted!

Rikj000,
@Rikj000@discuss.tchncs.de avatar

Root on Android is a necessity for me.
I’ve been rooting all droids I use for the past 10 years or so.

Imagine using Linux as a power user,
without being able to use sudo/su.

Also, Magisk does not just allow any application to access root, you have to manually allow apps to make use of it.

Just like administrator rights on any other OS,
things only go wrong if you don’t know what you’re doing, and then grant rights to something malicious.

Pantherina,

Yes but Waydroid is not an Android phone. Have a look at this

github.com/waydroid/waydroid/issues/1136#issuecom…

febra,

Better access to tools like ebpf and xdp.

0x0,

A kernel that fits my hardware and supports things the original kernel doesn’t. Then again, i use gentoo.

cyclohexane,

What did the original kernel not support?

0x0,

Having / on ZFS, but that went into an initrd i think… don’t remember, but not hardware related.

aordogvan,

Not for myself but a client who was running a game server. He wanted to tweak the number of ticks/second that the kernel interacted with CPU. Didn’t even know that this was a parameter and after a few attempts, according to him, never went on that server myself, made a huge difference and he claimed having grabbed a good part of the market because of that.

After that familiarized myself more with the stuff in there. But that was a good while ago, before most of you guys were born.

ChojinDSL,
@ChojinDSL@discuss.tchncs.de avatar

Back when I was still using Gentoo, configuring your own kernel was a rite of passage. It was kind of fun to try and configure it as minimalist as possible to cut down on the kernel compile time. Also, understanding all the different options and possibilities. And thanks to use flags, you had access to all these different patch sets for the kernel, which took a lot of the pain out of trying things like experimental schedulers or filesystems.

andrewd18,

Everybody gangsta until they set their block and filesystem drivers to module.

rotopenguin,
@rotopenguin@infosec.pub avatar

“Oh, did I need to rebuild the initrd too? Shhheeeeit, can I do that in a chroot from a livedisk or something?”

Pantherina,

Just download the devel kernel from your distro and go into make menuconfig. I am on an Intel Laptop with recent hardware. No reason to use amd, nvidia etc drivers. And there is a shitload of likely unmaintained drivers for ancient hardware.

delirious_owl,
@delirious_owl@discuss.online avatar

Knowledge and time forced to not be on the computer

Cwilliams,

Wow, I never thought of that as a good thing until now. I bet Gentoo users are more well-rounded than Arch users

delirious_owl,
@delirious_owl@discuss.online avatar

Well, lots of time to practice sword fighting in office chairs

Cwilliams,

Or to scroll through XKCD, apparently :P

ExtremeDullard,
@ExtremeDullard@lemmy.sdf.org avatar

As a Linux user of almost 30 years, compiling hundreds of kernels over the years has given me a great appreciation of pre-build kernels, and a profound gratitude for those who package them up into convenient distros that work out of the box and let me get on with the rest of my life.

limelight79,

Well said. I originally compiled my own kernels because I thought it was something you just did to use Linux. I also compiled hundreds of them, probably. Now it’s stock kernel all the way. Not worth the effort and time and headache.

ikidd, (edited )
@ikidd@lemmy.world avatar

I used Linux for about a decade from the mid nineties then took a break for a few years. When I came back, every distro kernel was precompiled, it was glorious. There was never a day I said to myself “damn, I miss compiling a kernel”.

umbrella,
@umbrella@lemmy.ml avatar

i think the learning experience is valid

ExtremeDullard,
@ExtremeDullard@lemmy.sdf.org avatar

Absolutely! If you’re doing it to learn something, by all means compile your own kernel. Every Linux user should do that at least once in my opinion. But once the learning is done, the novelty wears off fast and it just becomes tedious.

chevy9294,

I’m running a custom kernel on my Arch laptop. It’s a little faster, a little smaller and a little quite more secure. I’m also running custom kernel which enables adiantum encryption on old phone with postmarketOS.

cyberpunk007,

How did you conduct this speed test? Where are the results? 😂

Sorry, I think this any time someone says their computer is faster or mod X on Android is “snappier”

chevy9294,

I used geekbench 5. My CPU is AMD Ryzen 5 5500U. I tested a few prebuild kernels and custom compiled the fastest one.

prebuild linux kernel:

  • singlethread: 1170
  • multithread score: 4604

prebuild linux-zen kernel:

  • singlethread: 1156
  • multithread score: 4593

prebuild linux-xanmod kernel:

  • singlethread: 1164
  • multithread score: 4594

prebuild linux-hardened kernel:

  • singlethread: 1156
  • multithread score: 4841

custom linux-hardened kernel:

  • singlethread: 1160
  • multithread score: 4977
thejml,

Years ago (2006-ish), I ran Gentoo on a 300mhz ultra low power system I used for an irc & web server. I gained LOTS of speed and lowered power draw even further while also enabling the hardware acceleration the board had for ssl encryption and video encoding. The whole thing would pull <5 watts and be super stable. It was well worth it.

But now days a Pi zero would trounce it in both low power draw and speed with stock kernels and I don’t really care enough to try to squeeze more out.

racketlauncher831,

Customising the kernel just means something works properly in rare hardware configurations like you described. It’s something which he who uses the general hardware (like an X86 desktop) can’t easily see or understand because the ‘stock’ kernel is already working properly.

dan,
@dan@upvote.au avatar

I used to manually compile with the Linux-VServer patches, before Debian started shipping a pre-patched kernel.

Linux-VServer was kinda like LXC or OpenVZ. I was using it around 2008 or so as LXC wasn’t quite ready for use in production yet (was still far from finished) and OpenVZ didn’t support Debian hosts.

baseless_discourse, (edited )

The secureblue image I use disables numerous kernel modules, and enables many kernel mitigation argument.

The performance impact is minimal, hopefully that means a more secure system? I honestly don’t know, nor do I change the default recommended by the developer.

brejela,

Bragging rights.

7heo,

Better lzma performance with xz. 🤪

  • All
  • Subscribed
  • Moderated
  • Favorites
  • linux@lemmy.ml
  • fightinggames
  • All magazines