Every Linux Distro Should Set This One Value!!

preview_player
Показать описание
Linux gaming has only been getting better and better but even so there's still issues that need to be resolved and this one change to vm max map count is going to massively improve some games.

==========Support The Channel==========

==========Resources==========
The Command: sysctl -a | grep max_map_count

=========Video Platforms==========

==========Social Media==========

==========Credits==========
🎨 Channel Art:
Profile Picture:

#Linux #OpenSource #LinuxDistro #Wayland #LinuxGaming #GamingOnLinux

🎵 Ending music
Track: Debris & Jonth - Game Time [NCS Release]
Music provided by NoCopyrightSounds.

DISCLOSURE: Wherever possible I use referral links, which means if you click one of the links in this video or description and make a purchase I may receive a small commission or other compensation.
Рекомендации по теме
Комментарии
Автор

Brodie single handedly holding Arch Linux by one finger is crazy.

skelebro
Автор

Gentoo probably won't actually change it by default, they'll just add it to the handbook, that's kind of their thing

OhhCrapGuy
Автор

This was one of those Arch updates where it was like: "oh cool... downloaded more RAM. Nice."

xdzzz
Автор

>update filesystem
>max_map_count did not change
>poke around other sysctl.d folders (/etc/sysctl.d)
>find Ryujinx config
>it sets the max_map_count slightly *lower* than default
>deleted forever.
>profit

RinLovesYou
Автор

It sure has been exciting to witness gaming on Linux gradually getting better and better over the past few years

yep
Автор

I agree that high map counts indicate a problem, but having a hard limit is turning a low disruption potential problem into a high disruption actual problem. Maybe there should be a soft-limit value that provides warnings for applications with high map counts?

MarvinRB
Автор

Nah, you were right the first time. If every distro is changing the default to something else, and they all agree on what the new default should be, then that default should be reconsidered upstream. This "You're holding it wrong!" style reply from David is unhelpful, to say the least. I'm glad distros are changing it anyway, .

danielton
Автор

stability is far more important then a slight increase in memory usages in most cases. yes, it should be changed.

stevengrimes
Автор

I have set this value to 1024*1024 and noticed some improvement in Helldivers 2. So change it folks! It's free performance!

dunkelklinge
Автор

As far I understand it since the advent of virtual memory and the 64-bit address space, modern applications expect a malloc never to fail.

It's not so much that they assume unlimited memory, but that they can memory map (large) files, and leave it to the memory management / page fault mechanism to page their data in/out according to the demands of the current process.

Some databases such as MongoDB tend to allocate virtual memory in this fashion though behaviour also depends on how well a data consuming application is written on whether it really needs to (say) load a whole collection to only show the first page of results from a query.

UKprl
Автор

This is why I am Fedora gang, the developers know their stuff.

mx
Автор

Oh, cool, Arch's recently made it 1MiB out of the box! (No, I didn't fuck up writing a megabyte, that's how you shorten mebibyte)

DryPaperHammerBro
Автор

I've changed it manually about a year ago for MongoDB. It has also been a thing Redis complained about, so I'd say it's a somewhat common problem. Nice to see the default change.

brds_arent_real
Автор

Oh my god, I stopped playing Hogwards Legacy because the crashes were so severe and soft bricked my system. All other games run flawlessly.
I'll try setting the value and hope there are no more problems afterwards.

Thank you so much for pointing out the issue.

CilentLp
Автор

Changing that value is one of the first thing that i do after installing a distro.

MrAlanCristhian
Автор

Just changed the value for my system, didn't know it was even a thing. I'm writing a book that can benefit from this change so I'll include it when it is time to. Thanks Brodie for basically being the Linux news for me lol

zeckma
Автор

This value was increased in Pop!_OS on Apr 26, 2023.

mmstick
Автор

increasing vm_max_map_count helps very much with Cyberpunk also.

LittleDminis
Автор

As a DayZ player on linux, this is amazing. Now i can just play the game, instead of opening the terminal first freaking thing 😆

michaellankford
Автор

Holding arch Linux with a single finger is insane and it's the Chad move

ghostblackout
welcome to shbcf.ru