VRAM - 어차피 필요한만큼 자동으로 늘어남

제대로 인식 못하는 게임은 수동으로 설정하라고 권장하긴 함 <- https://www.amd.com/en/support/kb/faq/pa-280

스팀덱 VRAM은 최소 1GB고 바이오스에서 UMA Frame Buffer Size 설정에서 최소 4GB까지 설정 가능함


증거: 둠 이터널 그래픽 옵션 올리면 VRAM 9GB 할당해 줌



스왑 - 안 해도 됨 OS에서 알아서 해줌

https://www.howtogeek.com/449691/what-is-swapiness-on-linux-and-how-to-change-it/

리눅스 쪽은 나도 잘 몰라서 검색해 봄...ㅇㅂㅇ


Linux has a setting called the swappiness value. There’s a lot of confusion about what this setting controls. The most common incorrect description of swappiness is that it sets a threshold for RAM usage, and when the amount of used RAM hits that threshold, swapping starts.

리눅스는 swappiness라는 설정값이 있는데 이 설정값은 많은 오해를 불러 일으킵니다.

흔히 하는 착각은 스왑 메모리 값을 설정하고 램 메모리가 초과하면 스왑을 한다는 것입니다


(리눅스에서 램에 어떻게 접근하는지 설명하는 내용 번역하기 귀찮으니 링크 ㄱㄱ)


This depends on hardware, workload, hard drive type, and whether your computer is a desktop or a server. Obviously, this isn’t going to be a one size fits all type of setting.

스왑률은 하드웨어나 저장소, 서버나 데스크톱인지에 따라 달라지고 모든 기기에 맞는 값은 없다.

And you have to bear in mind that swap isn’t just used as a mechanism to free up RAM when you’re running out of memory space. Swap is an important part of a well functioning system, and without it, sane memory management becomes very difficult for Linux to achieve.

리눅스의 swap은 단순히 램 부족시 사용하는 윈도우의 가상 메모리 같은 메커니즘이 아니고 스왑이 없으면 리눅스가 정상적으로 메모리 관리에 어려움이 있다.

Changing the Linux swappiness value has an instant effect; you don’t need to reboot. So you can make small adjustments and monitor the effects. Ideally, you’d do this over a period of days, with different types of activity on your computer, to try to find the closest to an ideal setting that you can.

스왑률을 조정하면 즉시 적용되고 이를 확인할 수 있다. 여러 테스트를 진행해서 알맞는 스왑률을 찾아야 한다.


Trying to “disable swap” by setting the Linux swappiness value to zero simply shifts the swap-associated hard drive activity to file-associated hard drive activity.

스왑을 끄면 스왑 관련 작업이 파일 위주의 작업으로 전환된다.

If you have aging, mechanical hard drives, you might try reducing the Linux swappiness value to bias away from anonymous page reclamation and reduce swap partition churn. Of course, as you turn down one setting, the other setting increases. Reducing swap churn is likely to increase the file system churn. But your computer might be happier favoring one method over the other. Really, the only way to know for sure is to try and see.

오래된 하드에서 리눅스 스왑률을 줄여 익명 페이지 교정을 피하고 스왑 파티션 변동을 줄일 수 있지만 설정을 끄면 다른 설정값이 달라지는 법이다.

확실한 건 직접 값을 찾아내야 한다는 것이다

For single-purpose servers, such as database servers, you may get guidance from the suppliers of the database software. Very often, these applications have their own purpose-designed file cache and memory management routines that you’d be better to rely on. The software providers may suggest a Linux swappiness value according to machine specification and workload.

서버 같은 경우 DB 업체라던지 소프트 개발사에서 적정값을 구할 수 있을 것이다


For the average desktop user with reasonably recent hardware? Leave it as it is.

평범한 데탑 유저라면 그냥 그대로 쓰면 된다.


Memory management is complicated. And that’s why, for the average user, it is usually better to leave it up to the kernel.

메모리 관리는 복잡해서 일반 사용자들은 걍 커널에 (OS에) 메모리 관리를 맡기는 것이 낫다.

It’s easy to think you’re using more RAM than you are. Utilities like and can give the wrong impression. Linux will use free RAM for a variety of its own purposes, such as disk caching. This artificially elevates the “used” memory figure and reduces the “free” memory figure. In actual fact, the RAM used as disk cache is flagged as both “used” and “available” because it can be reclaimed at any time, very quickly.topfree

유틸리티 툴이 RAM을 초과 사용한다고 착각하게 할 수 있는데 리눅스는 인위적으로 사용된 / 사용 가능한 메모리 수치를 조절하고 디스크 캐시로 사용되는 램은 얼마든지 빠르게 이를 조절할 수 있다.


요약하면 걍 개발자 아니면 OS에서 알아서 쓰도록 냅두라는 얘기


https://steamcommunity.com/app/1675200/discussions/1/3387291961144501191/

스팀덱은 swappiness 기본 설정이 100(최댓값), 1GB로 설정돼 있다고 하는데 SSD에 무리를 주는 극적인 설정값이라는 의견도 있고

어차피 해상도도 낮고 옵션도 낮춰서 하는데 16GB VRAM으로 충분하다고 스왑을 아예 끄자는 의견도 있긴 함



아무튼

그대로 쓰면 된다

ㅇㅇ;