Skip to content
Update after install authored by Projekt:Root's avatar Projekt:Root
Unfortunately or fortunately we need to tweak few things before we start recording. For now it's basic setup but should be enough for home recording. In future (I hope) will grow.
1. [Audio and realtime group](https://gitlab.com/ProjektRoot/RecBox-config/wikis/after-install#add-user-to-audio-and-realtime-group)
------------------------------------------
#### **Add user to audio and realtime group:**
With Manjaro it's easy, just open **manjaro-settings-manager** (menu > Settings) and go to *User Accounts*
![manjaro-settings-manager.png](https://gitlab.com/ProjektRoot/RecBox-config/raw/master/screen-shots/manjaro-settings-manager.png)
-------------------------------------------
#### **Changing swappiness value:**
In default swappiness is set to 60, to change this value create `99-sysctl.conf` and paste this:
```
vm.swappiness=10
```
You can also change cache pressure:
```
vm.vfs_cache_pressure=50
```
> This variable controls the tendency of the kernel to reclaim the memory which is used for caching of VFS caches, versus pagecache and swap. Increasing this value increases the rate at which VFS caches are reclaimed.
>
> It is difficult to know when this should be changed, other than by experimentation. The slabtop command (part of the package procps) shows top memory objects used by the kernel. The vfs caches are the "dentry" and the "*_inode_cache" objects. If these are consuming a large amount of memory in relation to pagecache, it may be worth trying to increase pressure. Could also help to reduce swapping. The default value is 100.
[Tuning the Memory Management](https://doc.opensuse.org/documentation/leap/tuning/html/book.sle.tuning/cha.tuning.memory.html#cha.tuning.memory.vm.reclaim) | [About Swap](https://wiki.archlinux.org/index.php/Swap#Swappiness)
-------------------------------------------
#### **Set *governor* to `performance`:**
```
governor='performance'
```
$ `sudo nano /etc/default/cpupower`
![governor.png](https://gitlab.com/ProjektRoot/RecBox-config/raw/master/screen-shots/governor.png)
-------------------------------------------
#### **Add *threadirqs* to `GRUB_CMDLINE_LINUX_DEFAULT`:**
```
GRUB_CMDLINE_LINUX_DEFAULT="quiet threadirqs"
```
$ `sudo nano /etc/default/grub`
![threadirqs.png](https://gitlab.com/ProjektRoot/RecBox-config/raw/master/screen-shots/threadirqs.png)
$ `sudo update-grub`
-------------------------------------------
#### **Unlocking Memory:**
$ `sudo nano /etc/security/limits.d/99-realtime-privileges.conf`
and paste:
```
@realtime - rtprio 99
@realtime - memlock unlimited
@audio - rtprio 99
@audio - memlock unlimited
```
-------------------------------------------
#### **Increase *Open Files Limit* for *Ardour*:**
$ `sudo nano /etc/security/limits.conf`
and paste this to file:
```
* hard nofile 500000
* soft nofile 500000
root hard nofile 500000
root soft nofile 500000
```
![file-limit.png](https://gitlab.com/ProjektRoot/RecBox-config/raw/master/screen-shots/file-limit.png)
[Increase “Open Files Limit”](https://easyengine.io/tutorials/linux/increase-open-files-limit/)
-------------------------------------------
### **Also check out** [Professional Audio](https://wiki.archlinux.org/index.php/Professional_audio)
\ No newline at end of file