Skip to content

Commit

Permalink
Add memory configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
TommyTran732 authored Dec 22, 2024
1 parent a00bff2 commit 92c9259
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion Thinkpad P53.md
Original file line number Diff line number Diff line change
Expand Up @@ -213,4 +213,16 @@ Add this to the Linux karg:

```
xen-pciback.hide=(01:00.0)(01:00.1)(01:00.2)(01:00.3)(00:14.0)(00:1f.6)(2c:00.0)(54:00.0)
```
```

### Memory configuration

Default Qubes allocates 4GB to dom0, and creates a 4GB SWAP partition. Since I have much better hardware, I opt to allocate 8GB to dom0 and use ZRAM instead.

Increase dom0 memory by editing `/etc/default/grub` and changing dom0_mem=max:8192M.

To use zram:
- `qubes-dom0-update zram-generator`
- Type the following file to `/etc/systemd/zram-generator`: https://raw.githubusercontent.com/TommyTran732/Linux-Setup-Scripts/main/etc/systemd/zram-generator.conf

Reboot to apply the changes.

0 comments on commit 92c9259

Please sign in to comment.