12-13-2020, 08:27 AM
(12-13-2020, 06:30 AM)fChk Wrote: Having 2 VPSs on the same node is indeed quite an opportunity for experimentation. I recall having the same opportunity but with RedHat's OpenShift containers once.
I tried to mentally follow your setup but didn't quite get it. It would seem that you've just dedicated one VPS to be the database server; did I get that right?.. If so, can you give us the specs of that VPS.
Overall, it would be nice to document in more technical details the whole setup (may be as a tutorial instead of a follow-up post?), detailing what's hosted on each vps, the specs of each one of them, the ping between the two, the traceroute path (which should contain 1 hop to the datacenter router) etc...
That's precisely what I did: one vps serving database, and the other everything else.
I've heard of traceroute, but never needed to use it; though I think I have a general understanding of it's purpose. I'd be curious to know what exactly you're looking for in traceroute.
Specs:
*Racknerd advertised these as having NVME disk and ECC DDR4 RAM. I don't know how to verify that from terminal, but given the performance I don't doubt it.
server0 with CyberPanel and OpenLightSpeed WebServer:
Code: (Select All)
# ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## #
# Yet-Another-Bench-Script #
# v2020-12-07 #
# https://github.com/masonr/yet-another-bench-script #
# ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## #
Sun Dec 13 07:57:10 GMT 2020
Basic System Information:
---------------------------------
Processor : AMD Ryzen 9 3900X 12-Core Processor
CPU cores : 1 @ 3792.870 MHz
AES-NI : ✔ Enabled
VM-x/AMD-V : ✔ Enabled
RAM : 985.4 MiB
Swap : 1024.0 MiB
Disk : 15.2 GiB
fio Disk Speed Tests (Mixed R/W 50/50):
---------------------------------
Block Size | 4k (IOPS) | 64k (IOPS)
------ | --- ---- | ---- ----
Read | 383.23 MB/s (95.8k) | 1.58 GB/s (24.7k)
Write | 384.24 MB/s (96.0k) | 1.59 GB/s (24.8k)
Total | 767.48 MB/s (191.8k) | 3.17 GB/s (49.6k)
| |
Block Size | 512k (IOPS) | 1m (IOPS)
------ | --- ---- | ---- ----
Read | 1.79 GB/s (3.5k) | 1.90 GB/s (1.8k)
Write | 1.89 GB/s (3.6k) | 2.03 GB/s (1.9k)
Total | 3.68 GB/s (7.1k) | 3.94 GB/s (3.8k)
Server1 sql + webmin
Code: (Select All)
# ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## #
# Yet-Another-Bench-Script #
# v2020-12-07 #
# https://github.com/masonr/yet-another-bench-script #
# ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## #
Sun Dec 13 08:04:36 GMT 2020
Basic System Information:
---------------------------------
Processor : AMD Ryzen 9 3900X 12-Core Processor
CPU cores : 1 @ 3792.870 MHz
AES-NI : ✔ Enabled
VM-x/AMD-V : ✔ Enabled
RAM : 481.4 MiB
Swap : 512.0 MiB
Disk : 14.2 GiB
fio Disk Speed Tests (Mixed R/W 50/50):
---------------------------------
Block Size | 4k (IOPS) | 64k (IOPS)
------ | --- ---- | ---- ----
Read | 396.28 MB/s (99.0k) | 1.57 GB/s (24.6k)
Write | 397.33 MB/s (99.3k) | 1.58 GB/s (24.7k)
Total | 793.62 MB/s (198.4k) | 3.16 GB/s (49.4k)
| |
Block Size | 512k (IOPS) | 1m (IOPS)
------ | --- ---- | ---- ----
Read | 1.67 GB/s (3.2k) | 1.75 GB/s (1.7k)
Write | 1.76 GB/s (3.4k) | 1.87 GB/s (1.8k)
Total | 3.44 GB/s (6.7k) | 3.62 GB/s (3.5k)
Traceroute: s1 -> s0
Code: (Select All)
$ traceroute 173.82.93.XXX
traceroute to 173.82.93.XXX (173.82.93.XXX), 30 hops max, 60 byte packets
1 225-123-82-XXX-dedicated.multacom.com (173.82.123.XXX) 0.363 ms 0.368 ms 0.426 ms
2 173.82.93.XXX (173.82.93.XXX) 0.359 ms !X 0.414 ms !X 0.409 ms !X
Ping: s1 -> s0
Code: (Select All)
64 bytes from 173.82.93.XXX (173.82.93.XXX): icmp_seq=2 ttl=63 time=0.294 ms
64 bytes from 173.82.93.XXX (173.82.93.XXX): icmp_seq=3 ttl=63 time=0.319 ms
64 bytes from 173.82.93.XXX (173.82.93.XXX): icmp_seq=4 ttl=63 time=0.320 ms
64 bytes from 173.82.93.XXX (173.82.93.XXX): icmp_seq=5 ttl=63 time=0.366 ms
64 bytes from 173.82.93.XXX (173.82.93.XXX): icmp_seq=6 ttl=63 time=0.392 ms
I'll be happy to improvise a tutorial, but I think it'll happen tomorrow or the next day, (not tonight) depending on how much time I put into it. I have a general mockup of the steps taken, but for a tutorial I'd want to have c&p commands and maybe some screenshots, links to docs pertaining to the tutorial, etc, which will take some additional time.