Last update at :2024-02-25,Edit by888u
Many of our netizens have reported that buying a high-end VPS host is good but too expensive. But the configuration of the low-end solution is too low. Is there any way to improve the performance? For example, can we increase memory. Here we can use technology to increase SWAP burst memory. Although it is not physical memory, it can still improve the memory effect to a certain extent and improve the performance efficiency of the VPS host.
Here we can increase the swap burst memory of the VPS host through the following steps.
1. Login directory
cd /var/2. Get the 512MB file block:
dd if=/dev/zero of=swapfile bs=1M count=1024Generally, it is set to 2 times the memory. The number after count is the swap size xxMB to be set. The following takes 1G as an example
3. Create swap file
/sbin/mkswap swapfile4. Activate swap file
/sbin/swapon swapfile5. Check whether the swap is correct:
/sbin/swapon-sIn addition, for safety reasons, it is recommended to perform:
chmod 0644 /var/swapfile6. Add it to the fstab file to automatically start when the system boots
vi /etc/fstabAdd the following content at the end:
/var/swapfile swap swap defaults 0 0You can also execute the following command directly.
echo "/var/swapfile swap swap defaults 0 0" >>/etc/fstabIn this way, we can add burst memory SWAP to the Bricklayer Server VPS host.
Bricklayer discount code: BWH3HYATVBJW, discount 6.58%, available everywhere
Bricklayer USA cn2 gia, Japan Softbank, Netherlands AS9929, 2.5~10Gbps bandwidth
Memory | CPU | SSD | Traffic | Bandwidth | Price | Purchase |
1G | 2 cores | 20G | 1.0T/month | 2.5G | $50/quarter | Link |
2G | 3 cores | 40G | 2.0T/month | 2.5G | $90/quarter | Link |
4G | 4 cores | 80G | 3.0T/month | 2.5G | $57/month | Link |
8G | 6 cores | 160G | 5.0T/month | 5.0G | $87/month | Link |
16G | 8 cores | 320G | 8.0T/month | 10G | $160/month | Link |
32G | 10 cores | 640G | 10.0T/month | 10G | $290/month | Link |
64G | 12 cores | 1280G | 12.0T/month | 10G | $550/month | Link |
Bricklayer Hong Kong computer room VPS, 1Gbps cn2 gia
Memory | CPU | Hard disk | Traffic | Price | Purchase |
2G | 2 cores | 40G | 500G/month | $90/month | Link |
4G | 4 cores | 80G | 1.0T/month | $156/month | Link |
8G | 6 cores | 160G | 2.0T/month | $300/month | Link |
16G | 8 cores | 320G | 4.0T/month | $590/month | Link |
Bricklayer Meixi cn2 gt vps
Bricklayer Meixi cn2 gt vps test IP: 65.49.215.48
Memory | CPU | SSD | Traffic | Bandwidth | Price | Purchase |
1G | 1 core | 20G | 1.0T/month | 1G | $50/year | Link |
2G | 1 core | 40G | 2.0T/month | 1G | $100/year | Link |
4G | 2 cores | 80G | 3.0T/month | 1G | $60/quarter | Link |
8G | 2 cores | 160G | 5.0T/month | 1G | $40/month | Link |
16G | 3 cores | 320G | 8.0T/month | 1G | $80/month | Link |
16G | 3 cores | 320G | 12T/month | 1G | $100/month | Link |
16G | 3 cores | 320G | 16T/month | 1G | $130/month | Link |
Bricklayer Network Test
- United States cn2 gia: 162.244.241.103\104\105\106\107
- SoftBank Japan: 185.212.59.148\149\150\151\152
- Holland Unicom: 104.255.65.1, 104.255.64.1, 104.255.66.1
- Hong Kong cn2 gia: 93.179.124.167\168\169\170\171\172
Recommended site searches: website server rental, domain name registration application, free virtual host, exclusive host, free domain name, Chinese domain name registration query, PHP space application, domain name system, free virtual host, domain name registration network,
发表评论