Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix memory allocations in switch-to-nvidia.sh #182

Merged
merged 2 commits into from
Jul 17, 2024

Conversation

vlad196
Copy link
Contributor

@vlad196 vlad196 commented Jul 5, 2024

@Boria138
Copy link
Collaborator

Boria138 commented Jul 6, 2024

@vlad196 Обычно это пишут в две строки

options nvidia NVreg_PreserveVideoMemoryAllocations=1 options nvidia NVreg_TemporaryFilePath=/var/tmp

Мы это вроде обсуждали в прошлом PR

@Boria138
Copy link
Collaborator

Boria138 commented Jul 6, 2024

Вот вырезка из arch wiki на этот счёт

The video memory contents are saved by default to /tmp, which is a tmpfs. NVIDIA recommends using an other filesystem to achieve the best performance. This is also required if the size is not sufficient for the amount of memory

Added a temporary file path
@Boria138
Copy link
Collaborator

Boria138 commented Jul 7, 2024

Вот теперь меня всё устраивает, спасибо

@Boria138
Copy link
Collaborator

Boria138 commented Jul 7, 2024

@vitlav Можно принимать PR

@vitlav vitlav merged commit 105a452 into Etersoft:master Jul 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants