Documentation fixes

This commit is contained in:
2025-07-30 18:52:14 +02:00
parent d3d4286425
commit 186513a724
2 changed files with 3 additions and 4 deletions

View File

@@ -206,7 +206,7 @@ memory pages. A memory page is usually 4096B. Here is what these three values me
allocate any memory. Needless to say this is terrible for performance. allocate any memory. Needless to say this is terrible for performance.
After a lot of experimentation with these values I have come to the conclusion After a lot of experimentation with these values I have come to the conclusion
that the best values for these parameters are 60% of RAM, 70% of RAM and 80% of that the best values for these parameters are 40% of RAM, 50% of RAM and 60% of
RAM. This will use most of the RAM for TCP buffers if needed, but also leaves RAM. This will use most of the RAM for TCP buffers if needed, but also leaves
plenty for your applications. plenty for your applications.
@@ -216,7 +216,7 @@ I set these values dynamically per host with Ansible:
{{noescape `- name: configure tcp_mem {{noescape `- name: configure tcp_mem
sysctl: sysctl:
name: net.ipv4.tcp_mem name: net.ipv4.tcp_mem
value: "{{ (mempages|int * 0.6)|int }} {{ (mempages|int * 0.7)|int }} {{ (mempages|int * 0.8)|int }}" value: "{{ (mempages|int * 0.4)|int }} {{ (mempages|int * 0.5)|int }} {{ (mempages|int * 0.6)|int }}"
state: present state: present
vars: vars:
mempages: "{{ ansible_memtotal_mb * 256 }}" # There are 256 mempages in a MiB`}} mempages: "{{ ansible_memtotal_mb * 256 }}" # There are 256 mempages in a MiB`}}

View File

@@ -19,12 +19,11 @@ Keep in mind that these are maximums, you are allowed to go lower.
|--------------------------|--------------|-------------| |--------------------------|--------------|-------------|
| Storage price per month | € 1.50 / TB | {{ div 1.5 $price | formatSC }} / TB | | Storage price per month | € 1.50 / TB | {{ div 1.5 $price | formatSC }} / TB |
| Download price | € 2.00 / TB | {{ div 2.0 $price | formatSC }} / TB | | Download price | € 2.00 / TB | {{ div 2.0 $price | formatSC }} / TB |
| Upload price | € 1.50 / TB | {{ div 2.0 $price | formatSC }} / TB | | Upload price | € 0.50 / TB | {{ div 0.5 $price | formatSC }} / TB |
| Contract formation price | € 0.10 | {{ div 0.1 $price | formatSC }} | | Contract formation price | € 0.10 | {{ div 0.1 $price | formatSC }} |
<sup> <sup>
Based on exchange rates from Kraken. Based on exchange rates from Kraken.
[Explanation of units](https://siawiki.tech/wallet/siacoin).
</sup> </sup>
This may seem low, but keep in mind that these prices are before redundancy. We This may seem low, but keep in mind that these prices are before redundancy. We