mirror of
https://gitlab.com/allianceauth/allianceauth.git
synced 2025-07-16 16:00:17 +02:00
mild clarifications
This commit is contained in:
parent
d2f8c2a42f
commit
ea1887b9ec
@ -15,4 +15,5 @@ The official installation guide will install a stable version of Alliance Auth t
|
|||||||
celery
|
celery
|
||||||
redis
|
redis
|
||||||
python
|
python
|
||||||
|
sql
|
||||||
```
|
```
|
||||||
|
@ -89,7 +89,7 @@ This is not for performance, but for file system utilization and ease of use. Wh
|
|||||||
|
|
||||||
It is always better to optimize a table with indexes, if you have valuable performance data and analysis please reach out to either the Alliance Auth or Community dev responsible for the data that could benefit from indexes. MySQLTuner will likely recommend increasing this number for as long as there are any queries that could benefit, regardless of their resulting performance impact.
|
It is always better to optimize a table with indexes, if you have valuable performance data and analysis please reach out to either the Alliance Auth or Community dev responsible for the data that could benefit from indexes. MySQLTuner will likely recommend increasing this number for as long as there are any queries that could benefit, regardless of their resulting performance impact.
|
||||||
|
|
||||||
Also keep in mind this is _per thread_, if you have a potential 200 connections, 256MB \* 200 = 50MB, scaling this setting out too far can result in more memory use than expected.
|
Also keep in mind this is _per thread_, if you have a potential 200 connections, 256KB * 200 = 50MB, scaling this setting out too far can result in more memory use than expected.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
[!!] Joins performed without indexes: 67646
|
[!!] Joins performed without indexes: 67646
|
||||||
@ -147,7 +147,7 @@ Index and data buffer for Aria tables, If you use no or very little data in Aria
|
|||||||
-------- Aria Metrics ------------------------------------------------------------------------------
|
-------- Aria Metrics ------------------------------------------------------------------------------
|
||||||
[--] Aria Storage Engine is enabled.
|
[--] Aria Storage Engine is enabled.
|
||||||
[OK] Aria pagecache size / total Aria indexes: 128.0M/328.0K # i use a fraction of my aria buffer since i have no aria tables.
|
[OK] Aria pagecache size / total Aria indexes: 128.0M/328.0K # i use a fraction of my aria buffer since i have no aria tables.
|
||||||
[OK] Aria pagecache hit rate: 99.9% (112K cached / 75 reads) # Aria is used internally for MariaDB, so you still want an incredily high ratio here.
|
[OK] Aria pagecache hit rate: 99.9% (112K cached / 75 reads) # Aria is used internally for MariaDB, so you still want an incredibly high ratio here.
|
||||||
```
|
```
|
||||||
|
|
||||||
## Swappiness
|
## Swappiness
|
||||||
@ -164,7 +164,6 @@ joel@METABOX:~/aa_dev$ free -m
|
|||||||
Mem: 15998 1903 13372 2 722 13767
|
Mem: 15998 1903 13372 2 722 13767
|
||||||
Swap: 4096 1404 2691
|
Swap: 4096 1404 2691
|
||||||
# Here we can see a lot of memory page (1404MB) sitting in swap while there is free memory (13372MB) available
|
# Here we can see a lot of memory page (1404MB) sitting in swap while there is free memory (13372MB) available
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
@ -184,13 +183,21 @@ Swap: 2047 289 1758
|
|||||||
```
|
```
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
[--] Information about kernel tuning:
|
||||||
|
...
|
||||||
|
[--] vm.swappiness = 30
|
||||||
|
[xx] Swappiness is < 10.
|
||||||
|
...
|
||||||
vm.swappiness <= 10 (echo 10 > /proc/sys/vm/swappiness) or vm.swappiness=10 in /etc/sysctl.conf
|
vm.swappiness <= 10 (echo 10 > /proc/sys/vm/swappiness) or vm.swappiness=10 in /etc/sysctl.conf
|
||||||
```
|
```
|
||||||
|
|
||||||
## Max Asyncronous IO
|
## Max Asynchronous IO
|
||||||
|
|
||||||
Unless you are still operating on spinning rust (Hard Disk Drives), or an IO limited VPS, you can likely increase this value. Database workloads appreciate the additional scaling.
|
Unless you are still operating on spinning rust (Hard Disk Drives), or an IO limited VPS, you can likely increase this value. Database workloads appreciate the additional scaling.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
[--] Information about kernel tuning:
|
||||||
|
[--] fs.aio-max-nr = 65536
|
||||||
|
...
|
||||||
fs.aio-max-nr > 1M (echo 1048576 > /proc/sys/fs/aio-max-nr) or fs.aio-max-nr=1048576 in /etc/sysctl.conf
|
fs.aio-max-nr > 1M (echo 1048576 > /proc/sys/fs/aio-max-nr) or fs.aio-max-nr=1048576 in /etc/sysctl.conf
|
||||||
```
|
```
|
||||||
|
Loading…
x
Reference in New Issue
Block a user