!KEJUbONnoBpiYKGWEq:nixos.org

NixOS Gaming

700 Members
Gaming things, my hands are typing words.181 Servers

Load older messages


SenderMessageTime
3 Jan 2024
@k900:0upti.meK900Just so you always have resources left for the host system10:57:13
@k900:0upti.meK900In case the guest decides to use up all of them10:57:22
@crushing-smite:matrix.orgcrushing-smiteyeah, that one I know10:58:44
@crushing-smite:matrix.orgcrushing-smiteLike, there is absolutely nothing left of some know-how?10:59:14
@crushing-smite:matrix.orgcrushing-smitewhich involves tinkering with XML configs10:59:26
@crushing-smite:matrix.orgcrushing-smite(guess those are already wrapped by nix options)10:59:36
@k900:0upti.meK900I'm sure you can find like10:59:46
@atemu12:matrix.org@atemu12:matrix.org
In reply to @k900:0upti.me
There isn't really much to tweak
Hahaha no
10:59:58
@k900:0upti.meK900Reddit threads telling you about the one magic knob that makes everything 0.075% faster trust me bro my uncle works at qemu11:00:02
@atemu12:matrix.org@atemu12:matrix.orgThere's lots to tweak if you want decent CPU performance11:00:11
@atemu12:matrix.org@atemu12:matrix.orgOr a stutter-free experience11:00:22
@atemu12:matrix.org@atemu12:matrix.orgYou need to pin virtual cores to real cores and set up hugepages as a bare minimum11:00:52
@atemu12:matrix.org@atemu12:matrix.orgI'm sure there's more, I have stopped bothering with it at some point because my games all work on Linux these days11:01:26
@crushing-smite:matrix.orgcrushing-smite
In reply to @atemu12:matrix.org
There's lots to tweak if you want decent CPU performance
I do
11:01:30
@crushing-smite:matrix.orgcrushing-smite
In reply to @atemu12:matrix.org
Or a stutter-free experience
I do
11:01:35
@crushing-smite:matrix.orgcrushing-smite
In reply to @atemu12:matrix.org
I'm sure there's more, I have stopped bothering with it at some point because my games all work on Linux these days
Please tell :(
11:01:44
@atemu12:matrix.org@atemu12:matrix.orgAgain, there's thousands of guides on that11:01:57
@crushing-smite:matrix.orgcrushing-smiteso google "site:reddit.com kvm windows gaming"?11:02:20
@atemu12:matrix.org@atemu12:matrix.org/r/VFIO11:02:37
@atemu12:matrix.org@atemu12:matrix.orgAnd the Arch Wiki11:02:41
@k900:0upti.meK900I feel like most of that info is very outdated by now, because QEMU definitely uses THP by default now11:02:44
@atemu12:matrix.org@atemu12:matrix.orgYou need to set that up on the host side however11:03:05
@crushing-smite:matrix.orgcrushing-smitewhat's THP, and what was before it?11:03:07
@k900:0upti.meK900I'm not sure how much impact CPU pinning will have, probably some, but also probably not a lot unless there's contention11:03:10
@k900:0upti.meK900
In reply to@atemu12:matrix.org
You need to set that up on the host side however
NixOS defaults to madvise
11:03:45
@k900:0upti.meK900Which QEMU can use11:03:48
@atemu12:matrix.org@atemu12:matrix.orgAnd you need to set up HP manually because QEMU's THP might not actually use HP if memory is too fragmented and defrag can't be done with PCIe passthru11:03:58
@k900:0upti.meK900
In reply to@crushing-smite:matrix.org
what's THP, and what was before it?
THP is "transparent huge pages", which basically means the kernel manages memory in bigger chunks
11:04:04
@atemu12:matrix.org@atemu12:matrix.org
In reply to @atemu12:matrix.org
And you need to set up HP manually because QEMU's THP might not actually use HP if memory is too fragmented and defrag can't be done with PCIe passthru
Defrag at a later time that is
11:04:50
@k900:0upti.meK900https://developers.redhat.com/blog/2021/04/27/benchmarking-transparent-versus-1gib-static-huge-page-performance-in-linux-virtual-machines#benchmarks11:04:58

Show newer messages


Back to Room ListRoom Version: 6