鉴于最近斯巴达又被炒起来了,我来说下为什么斯巴达不适合做站
1. 网络最近烂了,其实这个还好,因为后面会恢复
2. IO实在太差,参考我这条帖子:
https://hostloc.com/thread-1122398-1-1.html
我当初发现斯巴达数据库操作很慢,明明IO那么高,但是实际体验还不如阿里云最垃圾的轻量,
然后我用mysql官方的测试工具(mysqlslap),测试了百万次数据库随机增删改查操作,确实非常慢,比我任何的小鸡都慢
后来发现YABS之类的都是测试的硬盘都是母鸡的缓存,不能代表实际体验,完全是自.慰,不会真有人以为YABS,柠檬脚本之类的能测VPS的IO和IOPS吧?
你们可以用这条命令测试一下实际IO,不出意外的话,斯巴达应该是你们手中正常小鸡最慢的
dd bs=64k count=4k if=/dev/zero of=test oflag=dsync
oflag=dsync这个指令一定要加上,排除母鸡缓存,测试实际读写IO的性能
这张图就是我手中的斯巴达(3H3G)的性能,可能是我这台母鸡超兽太多?至少跟我同一台母鸡的都很差
阿里云最垃圾的轻量测试结果是斯巴达的5倍(40MB/s),hetzer美西测试结果是它的10多倍(110MB/S)
-------------------------------------------
更新:AMD款确实不错,IO能上百,E5款通常只有个位数,要收千万别收半价E5款
-------------------------------------------
我自己也有斯巴达,如果我想骗MJJ,直接尬吹一通,然后出个高价
不过我孙笑川不愿欺骗单纯的MJJ,也不愿MJJ再被黄牛牵着鼻子走,《适合做站》《稳定》之类的都是假的
我为什么这么针对斯巴达?因为斯巴达的黄牛实在太恶心了,垃圾的能说成宝贝,除此之外,我没有喷过其他商家。
21年斯巴达 E5
。。。。。。。。。
楼主早发几天就好了,AMD的被我扔了 到期没续费
AMD 16刀 老款
腾讯云国内活动机4H8G:
4096+0 records in
4096+0 records out
268435456 bytes (268 MB) copied, 18.9977 s, 14.1 MB/s
托管杜甫:
4096+0 records in
4096+0 records out
268435456 bytes (268 MB) copied, 1.66143 s, 162 MB/s
结论:良心云从此不良心
Hosthatch epyc nvme小鸡
268435456 bytes (268 MB) copied, 5.91915 s, 45.4 MB/s
268435456 bytes (268 MB) copied, 3.13708 s, 85.6 MB/s
268435456 bytes (268 MB) copied, 3.57742 s, 75.0 MB/s
又试了单机械盘独服 1MB级别 没跑完就关了
用dd命令测试磁盘写入性能
https://hostloc.com/thread-30572-1-1.html
(出处: 全球主机交流论坛)
推荐楼 ggoo 4天前
root@sp:~# dd bs=64k count=4k if=/dev/zero of=test oflag=dsync
记录了4096+0 的读入
记录了4096+0 的写出
268435456字节(268 MB,256 MiB)已复制,1.95726 s,137 MB/s
AMD 16刀 老款
推荐楼 CMBCHINA 4天前
比我的块,不过阿里云最垃圾的轻量学生机也有40MB/S
腾讯云阿里云那叫云,斯巴达这叫vps
云上100块硬盘同时读写,斯巴达最多两块,肯定没法比,你可以选择阿里云,价格在那放着
推荐楼 larry 4天前
➜/ dd bs=64k count=4k if=/dev/zero of=test oflag=dsync
4096+0 records in
4096+0 records out
268435456 bytes (268 MB, 256 MiB) copied, 22.7384 s, 11.8 MB/s
4096+0 records in
4096+0 records out
268435456 bytes (268 MB, 256 MiB) copied, 6.15589 s, 43.6 MB/s
hetzner独服的NVME硬盘,也只有11.8 MB,HDD机械盘反而有43.6M,这个命令显然有问题,与实际情况差距甚远,没多 少参 考的价值
推荐楼 cake 4天前
不晓得。但我知道,月入几十万的大-楼风站:一 品 楼,人家用的也就是个斯巴达
推荐楼 银监会 4天前
推荐楼 Typeboom 4天前
推荐楼 a4425656 4天前
3楼 CMBCHINA 4天前
[root@do14 ~]# dd bs=64k count=4k if=/dev/zero of=test oflag=dsync记录了4096+0 的读入
记录了4096+0 的写出
268435456字节(268 MB)已复制,9.43585 秒,28.4 MB/秒
4楼 孙笑川 4天前
[root@do14 ~]# dd bs=64k count=4k if=/dev/zero of=test oflag=dsync
记录了4096+0 的读入
记录了4096+0...
比我的块,不过阿里云最垃圾的轻量学生机也有40MB/S
6楼 惜为伊人醉 4天前
我只有你的一半,那不是更垃圾?
8楼 虎谷 4天前
比我的块,不过阿里云最垃圾的轻量学生机也有40MB/S
非常赞同,数据库读写是非常的慢,,,慢得出天际了,,,
比如:我在安装discuz时,好几次都不成功,我还去gitee上发工单问了,都说我我的问题,然而我有次竟然成功了,,,
楼上的哪个应该是AMD款的,E5最新的母鸡都是很垃圾的
此款母鸡是:Server : SEABKVM12
ovh还不错
10楼 sbzj 4天前
4096+0 records in
4096+0 records out
268435456 bytes (268 MB, 256 MiB) copied, 72.1317 s, 3.7 MB/s
2c2g
12楼 jy02201949 4天前
一般站还好吧,MJJ大部分不就放个1IP博客之类的,大部分直接探针,我们MJJ的原则是:便宜就冲,人有我有!!!
13楼 ggoo 4天前
甲骨文 首尔
root@debian:~# dd bs=64k count=4k if=/dev/zero of=test oflag=dsync
4096+0 records in
4096+0 records out
268435456 bytes (268 MB, 256 MiB) copied, 9.69669 s, 27.7 MB/s
哪位大佬 看下 vir jpvir la的?
14楼 siyun77 4天前
不是很准确吧,HDD硬盘比独服NV还高
15楼 小猪佩奇 4天前
正价开只能说还行,毕竟带点防御,溢价不合算
16楼 xc55 4天前
3.4 MB/s
17楼 sbzj 4天前
甲骨文 首尔
root@debian:~# dd bs=64k count=4k if=/dev/zero of=test oflag=dsync
4096+0 records in
268435456 bytes (268 MB, 256 MiB) copied, 20.8596 s, 12.9 MB/s
vir jp 007节点
18楼 孙笑川 4天前
268435456 bytes (268 MB, 256 MiB) copied, 20.8596 s, 12.9 MB/s
vir jp 007节点
一分钱一分货
19楼 vishkozus 4天前
root@vps92952216:~# dd bs=64k count=4k if=/dev/zero of=test oflag=dsync
4096+0 records in
4096+0 records out
268435456 bytes (268 MB, 256 MiB) copied, 2.3854 s, 113 MB/s
liteserver
20楼 vishkozus 4天前
dd bs=64k count=4k if=/dev/zero of=test oflag=dsync
4096+0 records in
4096+0 records out
268435456 bytes (268 MB, 256 MiB) copied, 3.32586 s, 80.7 MB/s
v.ps 悉尼 mini pro
22楼 vishkozus 4天前
---------------------
webhorizion jp nat
---------------------
dd bs=64k count=4k if=/dev/zero of=test oflag=dsync
4096+0 records in
4096+0 records out
268435456 bytes (268 MB, 256 MiB) copied, 2.49034 s, 108 MB/s
---------------------
webhorizon sg nat
---------------------
dd bs=64k count=4k if=/dev/zero of=test oflag=dsync
4096+0 records in
4096+0 records out
268435456 bytes (268 MB, 256 MiB) copied, 8.0199 s, 33.5 MB/s
---------------------
webhorizon hk nat
---------------------
dd bs=64k count=4k if=/dev/zero of=test oflag=dsync
4096+0 records in
4096+0 records out
268435456 bytes (268 MB, 256 MiB) copied, 110.356 s, 2.4 MB/s
23楼 孙笑川 4天前
---------------------
webhorizion jp nat
---------------------
同一家差别也挺大的
24楼 孙笑川 4天前
一般站还好吧,MJJ大部分不就放个1IP博客之类的,大部分直接探针,我们MJJ的原则是:便宜就冲,人有我有! ...
我也觉得,很多MJJ应该只有1IP,因为访问量一大,一眼就看出来了
25楼 孙笑川 4天前
root@vps92952216:~# dd bs=64k count=4k if=/dev/zero of=test oflag=dsync
4096+0 records in
4096+0 rec ...
除了网络不好 没其他毛病
26楼 小白来了 4天前
我靠,我独服都只有:
root@xxxxx:~# dd bs=64k count=4k if=/dev/zero of=test oflag=dsync
4096+0 records in
4096+0 records out
268435456 bytes (268 MB, 256 MiB) copied, 10.6053 s, 25.3 MB/s
是不是垃圾啊....为什么还没你们的VPS高啊?
27楼 enjoyit 4天前
不错,涨知识了
28楼 孙笑川 4天前
我靠,我独服都只有:
root@xxxxx:~# dd bs=64k count=4k if=/dev/zero of=test oflag=dsync
4096+0 record ...
哪家的 什么硬盘
29楼 银监会 4天前
32楼 fyfy010 4天前
OVH 0.97
33楼 Typeboom 4天前
34楼 小白来了 4天前
哪家的 什么硬盘
psychzssd
21年斯巴达 E5
。。。。。。。。。
楼主早发几天就好了,AMD的被我扔了 到期没续费
36楼 孙笑川 4天前
psychzssd
SSD就这个性能,NVME更快一些
37楼 小白来了 4天前
SSD就这个性能,NVME更快一些
谢谢,原来如此,吓我一跳
38楼 xiaohei8 4天前
那么如果用钻石盘、石头盘之类的来区分的话,斯巴达这算是什么盘,屎盘么
39楼 孙笑川 4天前
那么如果用钻石盘、石头盘之类的来区分的话,斯巴达这算是什么盘,屎盘么 ...
一般把10以下的叫做石头盘,斯巴达这个只有34..
40楼 silence 4天前
root@vir:~# dd bs=64k count=4k if=/dev/zero of=test oflag=dsync
4096+0 records in
4096+0 records out
268435456 bytes (268 MB, 256 MiB) copied, 13.4364 s, 20.0 MB/s
vir jp,原来这个io也是假的啊
42楼 孙笑川 4天前
root@vir:~# dd bs=64k count=4k if=/dev/zero of=test oflag=dsync
4096+0 records in
4096+0 records out ...
YABS还有其他一些脚本都是读写缓存的
43楼 Gobala 4天前
感谢楼主分享小技巧
44楼 叼爆小朋友 4天前
阿里云HK轻量鸡:
4096+0 records in
4096+0 records out
268435456 bytes (268 MB, 256 MiB) copied, 6.6443 s, 40.4 MB/s
腾讯云国内活动轻量鸡:
4096+0 records in
4096+0 records out
268435456 bytes (268 MB) copied, 15.2534 s, 17.6 MB/s
AMD 16刀 老款
46楼 boq 4天前
垃圾斯巴达啊
E5 斯巴拉
48楼 aru 4天前
nvme 软件 raid0 也不高呀
# dd bs=64k count=4k if=/dev/zero of=test oflag=dsync
4096+0 records in
4096+0 records out
268435456 bytes (268 MB, 256 MiB) copied, 12.8767 s, 20.8 MB/s
49楼 kmaf 4天前
21年的黑五E5款,也一样。
dd bs=64k count=4k if=/dev/zero of=test oflag=dsync
4096+0 records in
4096+0 records out
268435456 bytes (268 MB) copied, 74.0287 s, 3.6 MB/s
50楼 william2ct 4天前
腾讯云国内活动机4H8G:
4096+0 records in
4096+0 records out
268435456 bytes (268 MB) copied, 18.9977 s, 14.1 MB/s
托管杜甫:
4096+0 records in
4096+0 records out
268435456 bytes (268 MB) copied, 1.66143 s, 162 MB/s
结论:良心云从此不良心
52楼 我能做两个小时 4天前
跑了一下,也是3M,看来E5是真的垃圾
53楼 wuguou6 4天前
斯巴达不是nv硬盘吗 为啥这么慢
54楼 wuguou6 4天前
哪家vps高点呢
55楼 Reply 4天前
OVH 0.97
dd bs=64k count=4k if=/dev/zero of=test oflag=dsync
4096+0 records in
4096+0 records out
268435456 bytes (268 MB, 256 MiB) copied, 2.98591 s, 89.9 MB/s
HongKong - BGP KVM VPS - Standard - Standard.A1
dd bs=64k count=4k if=/dev/zero of=test oflag=dsync
4096+0 records in
4096+0 records out
268435456 bytes (268 MB, 256 MiB) copied, 4.34861 s, 61.7 MB/s
56楼 a1124773883 4天前
36刀的还行
root@us:~# dd bs=64k count=4k if=/dev/zero of=test oflag=dsync
4096+0 records in
4096+0 records out
268435456 bytes (268 MB, 256 MiB) copied, 3.69441 s, 72.7 MB/s
57楼 cake 4天前
不晓得。但我知道,月入几十万的大-楼风站:一 品 楼,人家用的也就是个斯巴达
58楼 lyh36279 4天前
测了3台:有两台,分别是斯巴拉的e5(机房18)和amd(机房8)都是3-6M/s,另外一台e5(机房9)的是55M/s,不确定是否跟机房有关系,并非cpu
59楼 jacob 4天前
wuguou6 发表于 2023-1-10 13:18
哪家vps高点呢
ovh 一百多
60楼 DogeLee2 4天前
全球硬盘交流论坛
62楼 wuguou6 4天前
CPU ÐͺŠAMD Ryzen 9 5950X 16-Core Processor
CPU ºËÐÄ ºÏ¼Æ 3 ºËÐÄ£¬3 Ïß³Ì
CPU ״̬ µ±Ç°Ö÷Ƶ 3393.614 MHz
ÄÚ´æ´óС 2987 MB (383 MB ÒÑÓÃ)
½»»»·ÖÇø 1535 MB (0 MB ÒÑÓÃ)
Ó²ÅÌ´óС 73.0 GB
·þÎñÆ÷ʱ¼ä 2023-01-10 13:50:52
ÔËÐÐʱ¼ä 7 days 14 hour 52 min
ϵͳ¸ºÔØ 0.36, 0.25, 0.09
ÐéÄ⻯¼¼Êõ KVM
IPv4 µØÖ· 45.151.xxx.xxx
IPv6 µØÖ· 2604:9cc0:xxxx:xxxx
ÔËÓªÉÌ AS201106 Spartan Host Ltd
µØÀíλÖà US, Washington, Seattle
²Ù×÷ϵͳ Debian 11.5 bullseye (x86_64)
ϵͳÄÚºË 5.10.0-19-amd64
TCP ¼ÓËÙ bbr
µ±Ç°½Å±¾°æ±¾ 1.4.1.1
˳ÐòдÈë (1st) 1200 MB/s
˳ÐòдÈë (2nd) 1700 MB/s
˳ÐòдÈë (3rd) 1700 MB/s
˳ÐòдÈë (4th) 1800 MB/s
˳ÐòдÈë (5th) 1900 MB/s
˳ÐòдÈë (avg) 1733.3 MB/s
root@xxx:~# ^C
~# dd bs=64k count=4k if=/dev/zero of=test oflag=dsync
4096+0 records in
4096+0 records out
268435456 bytes (268 MB, 256 MiB) copied, 20.0855 s, 13.4 MB/s
~#
amd 磁盘13mb
e5磁盘3.3mb
:~# dd bs=64k count=4k if=/dev/zero of=test oflag=dsync
4096+0 records in
4096+0 records out
268435456 bytes (268 MB, 256 MiB) copied, 81.4396 s, 3.3 MB/s
63楼 qq53988545 4天前
说实话,在座各位小鸡的硬盘也太弱了,看看我的
4096+0 records in
4096+0 records out
268435456 bytes (268 MB, 256 MiB) copied, 497.337 s, 540 kB/s
Send by Discuz x Reader
64楼 wuyishan 4天前
测试了一下 E5的月付4.5M
另外的一个年付的倒是有64M
真是贵的还不如便宜的
65楼 larry 4天前
➜/ dd bs=64k count=4k if=/dev/zero of=test oflag=dsync
4096+0 records in
4096+0 records out
268435456 bytes (268 MB, 256 MiB) copied, 22.7384 s, 11.8 MB/s
4096+0 records in
4096+0 records out
268435456 bytes (268 MB, 256 MiB) copied, 6.15589 s, 43.6 MB/s
hetzner独服的NVME硬盘,也只有11.8 MB,HDD机械盘反而有43.6M,这个命令显然有问题,与实际情况差距甚远,没多 少参 考的价值
66楼 wuguou6 4天前
:~# dd bs=64k count=4k if=/dev/zero of=test oflag=dsync
4096+0 records in
4096+0 records out
268435456 bytes (268 MB, 256 MiB) copied, 81.4396 s, 3.3 MB/s
67楼 白嫖 4天前
自从spartanhost的status页面不显示母鸡负载后就随便超了
以前的截图
68楼 Qting 4天前
OVH 0.97
4096+0 records in
4096+0 records out
268435456 bytes (268 MB, 256 MiB) copied, 3.12139 s, 86.0 MB/s
69楼 孙笑川 4天前
OVH 0.97
4096+0 records in
4096+0 records out
OVH确实可以
70楼 闻风听雨 4天前
4096+0 records in
4096+0 records out
268435456 bytes (268 MB, 256 MiB) copied, 0.298069 s, 901 MB/s
Webdock的 你敢信 这是Lxc
72楼 孙笑川 4天前
4096+0 records in
4096+0 records out
268435456 bytes (268 MB, 256 MiB) copied, 0.298069 s, 901 MB/s
oflag=dsync加了没,要是加了也太离谱了,不懂LXC
73楼 canxunhulian 4天前
E5 38.4刀 记录了4096+0 的读入
记录了4096+0 的写出
268435456字节(268 MB)已复制,82.8552 秒,3.2 MB/秒
74楼 dragonfsky 4天前
e5款是机械盘吧 随机读写肯定垃圾呀
75楼 闻风听雨 4天前
76楼 jiashencha 4天前
记录了4096+0 的读入
记录了4096+0 的写出
268435456字节(268 MB,256 MiB)已复制,5.82732 s,46.1 MB/s
0.25日本
77楼 孙笑川 4天前
加了,完全复制的,再测一遍这个更快
LXC知识盲区了,不懂和KVM的区别,不过看上去确实不错,可以测试下数据库性能
78楼 hardwar 4天前
Hosthatch epyc nvme小鸡
268435456 bytes (268 MB) copied, 5.91915 s, 45.4 MB/s
268435456 bytes (268 MB) copied, 3.13708 s, 85.6 MB/s
268435456 bytes (268 MB) copied, 3.57742 s, 75.0 MB/s
又试了单机械盘独服 1MB级别 没跑完就关了
绿云 阿姆斯特丹
- 4096+0 records in
4096+0 records out
268435456 bytes (268 MB) copied, 83.6851 s, 3.2 MB/s
斯巴达 e5
80楼 coxpc 4天前
4096+0 records in
4096+0 records out
268435456 bytes (268 MB, 256 MiB) copied, 0.298069 s, 901 MB/s
4096+0 records in
4096+0 records out
268435456 bytes (268 MB, 256 MiB) copied, 0.188863 s, 1.4 GB/s
和你一样webdock,真离谱,lxd
82楼 larry 4天前
就这么一行命令,看不明白吗?
没什么明白不明白的,只是说明拿这个测试去横向比较是没意义的,根本不是硬盘的实际情况。
83楼 孙笑川 4天前
绿云 阿姆斯特丹
绿云还是可以,准备搞一台玩玩
84楼 zhangzlo 4天前
[root@C20230110345859 ~]# dd bs=64k count=4k if=/dev/zero of=test oflag=dsync记录了4096+0 的读入
记录了4096+0 的写出
268435456字节(268 MB)已复制,2.25474 秒,119 MB/秒
[root@C20230110345859 ~]# dd bs=64k count=4k if=/dev/zero of=test oflag=dsync
记录了4096+0 的读入
记录了4096+0 的写出
268435456字节(268 MB)已复制,2.21539 秒,121 MB/秒
[root@C20230110345859 ~]# dd bs=64k count=4k if=/dev/zero of=test oflag=dsync
记录了4096+0 的读入
记录了4096+0 的写出
268435456字节(268 MB)已复制,2.16507 秒,124 MB/秒
[root@C20230110345859 ~]# dd bs=64k count=4k if=/dev/zero of=test oflag=dsync
记录了4096+0 的读入
记录了4096+0 的写出
268435456字节(268 MB)已复制,2.15734 秒,124 MB/秒
[root@C20230110345859 ~]# dd bs=64k count=4k if=/dev/zero of=test oflag=dsync
记录了4096+0 的读入
记录了4096+0 的写出
268435456字节(268 MB)已复制,2.26009 秒,119 MB/秒
E5斯巴达,主要是要选择硬盘带阵列的,这样数据才安全,速度也有保障
85楼 jiuqimax 3天前
RN测都有50MV/s
86楼 zhujizixun 3天前
斯巴达E5小鸡
4096+0 records in
4096+0 records out
268435456 bytes (268 MB) copied, 3.79485 s, 70.7 MB/s
随便一测就是阿里云两倍性能。
iops才是权威性数据,你这个测试没有任何意义。
87楼 孙笑川 3天前
斯巴达E5小鸡
4096+0 records in
4096+0 records out
VPS是测不准IOPS的
88楼 夏雨图图 3天前
看看
89楼 WwzwW 3天前
用dd命令测试磁盘写入性能
https://hostloc.com/thread-30572-1-1.html
(出处: 全球主机交流论坛)
我的斯巴达E5 SSD款 还行
92楼 ZengHu 3天前
顶你上去
93楼 怪杰四霸天 前天00:43
支持
94楼 乌拉擦 前天09:08
4096+0 records in
4096+0 records out
268435456 bytes (268 MB) copied, 0.991902 s, 271 MB/s
RN
95楼 hins 前天14:05
不用斯巴达用啥呢 楼主有推荐吗
96楼 fanlao 前天14:07
io问题确实比较难
97楼 ezsq 前天23:53
LittleCreek Hosting
dd bs=64k count=4k if=/dev/zero of=test oflag=dsync
4096+0 records in
4096+0 records out
268435456 bytes (268 MB) copied, 58.6343 s, 4.6 MB/s
真的好拉
98楼 oimg 前天23:54
666
99楼 philsilver 昨天13:36
RN 46.9MB/s
CC 50.0MB/s
甲骨文arm 一般为25MB/s,东京的高一点,31MB/s
甲骨文小鸡 一般为20MB/s
netcup,50MB/s
只能说,个位数的io实在有点抽象了
申明:本文内容由网友收集分享,仅供学习参考使用。如文中内容侵犯到您的利益,请在文章下方留言,本站会第一时间进行处理。