Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

Kainode Singapore VPS: ping says 1 ms, TCP/UDP say 52 ms

Black Friday PSA before anything else: don't grab a "Singapore" VPS just because it's cheap and somebody posted a 1 ms ping. I did, and it cost me $15.49 to learn that ping and real traffic can take two different roads.

So, Kainode "VPS Advanced", Singapore. 5 vCPU / 10 GB / 100 GB SSD / 3 TB for $15.49 a month. KVM, Debian 12, IP is on AS200257 (UserDepth LLC). Bought it a couple days ago. Not affiliated with them or anyone else, I just paid for it.

Short version:

From another Singapore VPS to 147.79.18.148, same minute

ICMP    8 hops    1.0 ms
UDP    10 hops   52.2 ms   (via 103.185.225.200)
TCP    real connect to port 22: 61-63 ms

Ping looks perfect. TCP and UDP eat an extra ~52 ms. Support told me it was fixed, it wasn't, they later admitted that, and VPS plans don't get refunds. Not renewing.

What I saw first

From inside the VPS, the first hop past the gateway already costs 52 ms. Doesn't matter where you trace to.

hop 1  147.79.18.1      0.3 ms
hop 2  172.31.68.1     52 ms
hop 3  103.180.193.1   51 ms

Figured maybe it was just me, so I ran it from public probes in Singapore. 20 packets, no loss.

From SG.GS (AS24482)
103.216.222.122   cr1.rc.sgp.sg.hostuniversal    0.8 ms
103.216.223.141                                  0.7 ms
103.180.193.44    sin.ifog.asia (AS34927)        1.1 ms
147.79.18.148     AS200257 UserDepth LLC        52.1 ms

From NetActuate Singapore (AS36236)
103.216.223.141                                  0.8 ms
103.180.193.44    sin.ifog.asia (AS34927)        1.0 ms
147.79.18.148     AS200257 UserDepth LLC        52.4 ms

Every hop in Singapore is about 1 ms, then the last one to the VPS jumps to 52. From Hong Kong I got 37 ms to that same Singapore edge and 112 ms to the box.

public probes

Ticket

Sent them the above and asked: where is this thing actually, and can you fix it or refund me.

Answer was that the VM is physically in Singapore, they changed some config, and quote, "This is now fixed." Ping to 1.1.1.1 should be 6-7 ms now.

support says fixed

Cool. Went and tested from another Singapore VPS I have with a different host.

After the "fix"

Nov 26, 03:57-03:59 UTC. Averages of 5. I cut the first two hops on my end.

ICMP:

mtr -4 -rnc 5 147.79.18.148
 3. 103.216.222.121    0.4 ms
 4. 103.216.222.123    0.8 ms
 5. 103.216.222.129    0.7 ms
 6. 103.216.222.130    0.7 ms
 7. 103.216.223.141    0.8 ms
 8. 147.79.18.148      1.0 ms

UDP:

mtr -4 -rnc 5 -u 147.79.18.148
 3. 103.216.222.121    0.5 ms
 4. 103.216.222.123    0.8 ms
 5. 103.216.222.129    0.8 ms
 6. 103.216.222.130    0.7 ms
 7. 103.216.223.141    0.7 ms
 8. 103.180.193.44     0.8 ms
 9. 103.185.225.200   50.4 ms
10. 147.79.18.148     52.2 ms

mtr icmp tcp udp

Same box, same target, seconds apart. ICMP takes 8 hops and gets there in 1 ms. UDP takes 10 hops, goes through 103.185.225.200, and shows up at 52.

TCP is weirder. traceroute -T -p 22 -m 15 goes dark after hop 7, hops 8 to 15 are all stars. Port 80 same thing. But if you just open a real connection to port 22:

for i in 1 2 3; do s=$(date +%s%N); timeout 3 bash -c "exec 3<>/dev/tcp/147.79.18.148/22" && echo "$(( ($(date +%s%N)-s)/1000000 )) ms"; done
63 ms
61 ms
62 ms

Earlier that day, before the TCP probes stopped answering, mtr -T showed TCP going through that same 103.185.225.200 hop at ~50 ms. So the path didn't get shorter, it just got harder to see.

traceroute 15 hops

And from inside the VPS, same time:

ping -c 5 1.1.1.1
5 packets transmitted, 0 received, 100% packet loss

curl -so /dev/null -m 5 -w '%{time_connect} s\n' https://1.1.1.1
0.000000 s   (timed out, 3 for 3)

curl -so /dev/null -m 5 -w '%{time_connect} s\n' https://www.google.com
0.110548 s
0.110207 s
0.109761 s

Can't reach 1.1.1.1 at all. 110 ms to open a TCP connection to Google. From Singapore. Yeah.

inside the vps

How it wrapped up

Sent all of it back. They asked for my exact commands and where I was testing from, so I gave them that. They had me re-run it twice. Same numbers both times.

Then the final word: 50 ms is "reasonable", it's the best routing they can do at this price, and VPS is non-refundable.

50 ms is reasonable

best at this price

I told them I'd be posting the results. To their credit they came back with this:

support admits it

I'll say this for them, support answered fast and stayed polite the whole time, and they owned up at the end. That's more than a lot of hosts do. Doesn't change the routing though.

Other stuff

CPU shows as "QEMU Virtual CPU version 2.5+". Disk is fine, dd did 1.8 GB/s on a 512 MB direct write. But openssl speed -evp aes-256-gcm single thread came out around 0.14 GB/s on 16k blocks. A Xeon Gold 6133 VM I've got does about 2.8 on the same test. So don't plan on anything crypto heavy.

Bottom line

I don't know where this box physically sits. Support says Singapore. What I can tell you is ping gets a 1 ms shortcut and everything else takes a 52 ms detour past their Singapore edge. Any review or IP checker that only pings it is going to show you a great Singapore server. It isn't one, at least not for TCP or UDP.

If you're shopping the Black Friday threads this week, do yourself a favor and run these from another box in the same city before the refund window (if there even is one) runs out:

mtr -4 -rnc 5 YOUR_IP
mtr -4 -rnc 5 -u YOUR_IP
mtr -4 -rnc 5 -T -P 22 YOUR_IP

If the hop count or the last hop doesn't line up between ICMP and the other two, that's your answer. Takes thirty seconds.

Anybody else have one of these in SG? Curious if it's the whole node or just mine.

Comments

  • alexnjhalexnjh Member
    edited 4:55AM

    @souldance7 Did you try to do a mtr from the VM to a SG ip and see if the egress path is within SG or routing via some other country?

    However with +30ms at last hop it does look like the server itself is located somewhere else maybe Hongkong or Vietnam then routed via SG or their transit's routing is a mess.

    If you want to see if the provider is replying to icmp towards your VM ip in SG you can do a tcpdump and check if icmp packets are reaching your VM or it is getting intercepted at the provider's edge router.

  • @alexnjh said:
    @souldance7 Did you try to do a mtr from the VM to a SG ip and see if the egress path is within SG or routing via some other country?

    However with +30ms at last hop it does look like the server itself is located somewhere else maybe Hongkong or Vietnam then routed via SG or their transit's routing is a mess.

    If you want to see if the provider is replying to icmp towards your VM ip in SG you can do a tcpdump and check if icmp packets are reaching your VM or it is getting intercepted at the provider's edge router.


    @alexnjh good call, just ran it. From the VM to their own SG edge (103.180.193.44), 04:54 UTC:

    ICMP      hop 1  147.79.18.1      0.5 ms
              hop 2  103.180.193.44  52.3 ms
    
    UDP       hop 1  147.79.18.1      0.4 ms
              hop 2  103.180.193.44  53.4 ms
    
    TCP 443   hop 1  147.79.18.1      0.6 ms
              hop 2  103.180.193.44  51.7 ms
    

    Two hops, and the second one is 52 ms away on all three. So yeah, it does exit through SG, but the gateway and the SG edge are ~52 ms apart. Pretty sure you're right that the VM lives somewhere else and gets hauled to Singapore. I just can't tell where from here.

    It's 52 on my end, not 30.

    One more thing: ICMP is a bad guide on this box now. After my ticket, ping from outside SG to the VPS dropped to 1 ms, while TCP and UDP to the same IP stayed at 52. And as of an hour ago 1.1.1.1 magically shows up as hop 2 at 6 ms from the VM, while Google is still 110 ms to connect. So test with TCP/UDP, not ping.
    ShP6sp9rocb7W761nsRPVDa5A7hP8QBr.webp

  • There are better networks with better peering in SG in general, also cheaper.
    An example, but not limited to: Leaseweb, OVH resellers.

  • @luckypenguin said:
    There are better networks with better peering in SG in general, also cheaper.
    An example, but not limited to: Leaseweb, OVH resellers.


    Yeah, lesson learned. Thanks for the pointers, I'll check those out.

  • alexnjhalexnjh Member
    edited 5:15AM

    @souldance7 yeah looks like the server is located elsewhere even a mtr to the gateway ip 147.79.18.1 is showing up 50ms from most apac countries (including sg). (Maybe the server is hosted in Bangladesh as SG to Bangladesh is normally around ~50ms)

    https://ping.pe/147.79.18.1

    Either they have some insane congestion within their network or the servers are located somewhere else and all their transit is backhauled via sg.

  • aphexaphex Member

    it makes very little sense to me but it feels like they have a single /24 on that as they are trying to split across mutliple regions with a bad anycast ... bangla is so much more expensive than sg it makes no sense to not just host in sg either

  • Update: got the real answer from Kainode support.

    First reply this morning:

    first reply

    Last reply this afternoon:

    last reply

    So there's the 52 ms. Core routing sits in Bangladesh and traffic to the Singapore side can go through it first. @alexnjh called it, just the wrong country.

    Rest of what they told me:

    • They fixed ICMP and access to 1.1.1.1, and that's what they consider the fix. I can confirm both work now. From the VM, 1.1.1.1 is 6 ms and shows up as hop 2.
    • TCP and UDP are unchanged. Still ~52 ms from another SG box, still 110 ms to connect to Google from the VM. They say they never guaranteed a routing path or latency per protocol.
    • No refund, VPS plans are non-refundable under their policy. At one point I was told "if not fixed we will refund you", then a different agent said the latency is normal. Whatever, I'd already written off the $15.

    To be fair to them: they did explain it in the end, and they said they have no objection to me posting results. I just wish this had been the first reply and not the last one. Would've saved everybody a morning.

    If you're looking at this plan: Singapore IP, Bangladesh core. Buy accordingly.

  • > it makes very little sense to me but it feels like they have a single /24 on that as they are trying to split across mutliple regions with a bad anycast ... bangla is so much more expensive than sg it makes no sense to not just host in sg either

    @aphex yeah that'd explain why ICMP and TCP/UDP land in different places. Makes no sense cost-wise either, agreed.

  • alexnjhalexnjh Member
    edited 6:47AM

    @souldance7 ah make sense now, but still weird for them to hairpin traffic to Bangladesh before reaching SG instead of routing it locally.

    This is pretty bad routing design imo to waste IPLC capacity (I am assuming there is a IPLC back to their core and not via some VPN) for this, imagine some VPS is receiving a lot of traffic from SG. The traffic might congest their backbone with the way they are routing it.

  • Makes sense if they rent some basement unit in Bangladesh with residential/business lines and make it appear in SG. That way it will be cheaper than actually hosting in SG.

  • alexnjhalexnjh Member
    edited 6:52AM

    AS 200257 only advertise like 1x /24 so not sure how they are doing it unless they use different asn for different locations but yeah weird routing design but I guess if it make sense to them it make sense to them.

Sign In or Register to comment.