Commit ae8b243
committed
muvm: remove RAM special case for 8GB machines
Now that muvm is able to request the guest to decrease its file cache
and the root cause for the premature OOM has been indentified, let's
remove the check for 8GB machines that limited the microVM to be
smaller than 5GB, and just set it to be 80% of the host RAM, just as
we do with systems with other configurations.
In practice, this enables 8GB machines to run more games out of the
box (tested with multiple Steam games on a MacBook Air M1 with 8GB).
Signed-off-by: Sergio Lopez <[email protected]>1 parent 2ba2dab commit ae8b243
1 file changed
Lines changed: 5 additions & 21 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
132 | 132 | | |
133 | 133 | | |
134 | 134 | | |
135 | | - | |
136 | | - | |
137 | | - | |
138 | | - | |
139 | | - | |
140 | | - | |
141 | | - | |
142 | | - | |
143 | | - | |
144 | | - | |
145 | | - | |
146 | | - | |
147 | | - | |
148 | | - | |
149 | | - | |
150 | | - | |
151 | | - | |
152 | | - | |
153 | | - | |
154 | | - | |
155 | | - | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
156 | 140 | | |
157 | 141 | | |
158 | 142 | | |
| |||
0 commit comments