[root@tiger ~]# sh bench.sh
CPU model : QEMU Virtual CPU version (cpu64-rhel6)
Number of cores : 6
CPU frequency : 3058.352 MHz
Total amount of ram : 2006 MB
Total amount of swap : 1023 MB
Download speed : (21.7MB/s)
I/O speed : 132MB/s
hmmm weird. not working for me. LOL Debian Squeeze, Ubuntu 11. Only works on CentOS 5.7 for me
# sh bench.sh
CPU model : Intel(R) Xeon(R) CPU L5520 @ 2.27GHz
Number of cores : 2
CPU frequency : 2266.538 MHz
Total amount of ram : 1024 MB
Total amount of swap : 0 MB
Download speed : (9.07MB/s)
I/O speed : 122MB/s
CPU model : QEMU Virtual CPU version (cpu64-rhel6)
Number of cores : 1
CPU frequency : 3391.316 MHz
Total amount of ram : 120 MB
Total amount of swap : 258 MB
Download speed : (34.6MB/s)
I/O speed : 176MB/s
root@lion:~# wget http://akamaras.com/bench.sh -O - -o /dev/null |bash
CPU model : QEMU Virtual CPU version (cpu64-rhel6)
Number of cores : 4
CPU frequency : 3058.352 MHz
Total amount of ram : 764 MB
Total amount of swap : 1023 MB
Download speed : (24.1MB/s)
I/O speed : 217MB/s
[root@leopard ~]# wget http://akamaras.com/bench.sh -O - -o /dev/null |bash
CPU model : Intel(R) Xeon(R) CPU 5150 @ 2.66GHz
Number of cores : 1
CPU frequency : 2659.998 MHz
Total amount of ram : 115 MB
Total amount of swap : 255 MB
Download speed : (47.0MB/s)
I/O speed : 44.6MB/s
CPU model : QEMU Virtual CPU version 0.9.1 Number of cores : 1 CPU frequency : 2400.152 MHz Total amount of ram : 501 MB Total amount of swap : 1999 MB Download speed : (30.9MB/s) I/O speed : 180MB/s
chatx@chatx:~$ bash bench.sh
CPU model : Intel(R) Xeon(R) CPU E5620 @ 2.40GHz
Number of cores : 1
CPU frequency : 2394.000 MHz
Total amount of ram : 128 MB
Total amount of swap : 0 MB
Download speed : (33.1MB/s)
I/O speed : 48.2MB/s
Hostigation
# bash bench.sh
CPU model : QEMU Virtual CPU version (cpu64-rhel6)
Number of cores : 1
CPU frequency : 3391.316 MHz
Total amount of ram : 119 MB
Total amount of swap : 1176 MB
Download speed : (27.3MB/s)
I/O speed : 135MB/s
Local
# bash bench.sh
CPU model : Intel(R) Core(TM)2 CPU T5600 @ 1.83GHz
Number of cores : 2
CPU frequency : 1828.783 MHz
Total amount of ram : 501 MB
Total amount of swap : 977 MB
Download speed : (487KB/s)
I/O speed : 27.7MB/s
Dang! My VPSs are more powerful than my Dell XPS LOL
[root@web ~]# sh bench.sh
CPU model : Intel(R) Xeon(R) CPU E5645 @ 2.40GHz
Number of cores : 2
CPU frequency : 2399.998 MHz
Total amount of ram : 1024 MB
Total amount of swap : 2047 MB
Download speed : (65.7MB/s)
I/O speed : 424MB/s
ps. I would not do something like "wget some_not_truested_url -O - -o /dev/null |bash". Imagine what happens when the script would contain something like:
CPU model : Intel(R) Xeon(R) CPU E31230 @ 3.20GHz
Number of cores : 8
CPU frequency : 3192.925 MHz
Total amount of ram : 16007 MB
Total amount of swap : 18047 MB
Download speed : (78.5MB/s)
I/O speed : 64.8MB/s
CPU model : Intel(R) Xeon(R) CPU E5520 @ 2.27GHz
Number of cores : 1
CPU frequency : 2266.746 MHz
Total amount of ram : 128 MB
Total amount of swap : 509 MB
Download speed : (9.03MB/s)
I/O speed : 201MB/s <-- woah! (and I was about to cancell it after I got bigger package.. 2 yrs ago! :P)
XenVZ – £6/6 months 96MB OpenVZ/Xen VPS in UK
new location vps:
CPU model : Dual Core AMD Opteron(tm) Processor 280
Number of cores : 2
CPU frequency : 2392.536 MHz
Total amount of ram : 86 MB
Total amount of swap : 127 MB
Download speed : (4.10MB/s)
I/O speed : 60.0MB/s
old location vps:
CPU model : Intel(R) Xeon(R) CPU L5410 @ 2.33GHz
Number of cores : 2
CPU frequency : 2333.332 MHz
Total amount of ram : 86 MB
Total amount of swap : 127 MB
Download speed : (10.6MB/s)
I/O speed : 75.3MB/s
VooServers – £2.25 128MB Xen VPS
CPU model : Intel(R) Xeon(R) CPU X3440 @ 2.53GHz
Number of cores : 4
CPU frequency : 2526.982 MHz
Total amount of ram : 121 MB
Total amount of swap : 255 MB
Download speed : (10.6MB/s)
I/O speed : 67.1MB/s
evorack - £2.34 128MB Xen VPS
CPU model : Intel(R) Xeon(R) CPU 3060 @ 2.40GHz
Number of cores : 1
CPU frequency : 2400.084 MHz
Total amount of ram : 128 MB
Total amount of swap : 511 MB
Download speed : (35.8MB/s)
I/O speed : 52.1MB/s
WeServeIT – €3,75 128MB Xen VPS
CPU model : Intel(R) Xeon(R) CPU E5520 @ 2.27GHz
Number of cores : 1
CPU frequency : 2266.746 MHz
Total amount of ram : 256 MB
Total amount of swap : 511 MB
Download speed : (54.7MB/s)
I/O speed : 151MB/s <- You can't get those for such price anymore! :P
SysCentral – €2.99 Xen VPS
CPU model : Intel(R) Core(TM) i7 CPU 920 @ 2.67GHz
Number of cores : 1
CPU frequency : 2673.298 MHz
Total amount of ram : 128 MB
Total amount of swap : 255 MB
Download speed : (10.6MB/s)
I/O speed : 74.2MB/s
Fanatical VPS – $6/3 Months 256MB OpenVZ VPS
CPU model : Intel(R) Core(TM) i7 CPU 950 @ 3.07GHz
Number of cores : 4
CPU frequency : 3074.392 MHz
Total amount of ram : 512 MB
Total amount of swap : 0 MB
Download speed : (66.3MB/s)
I/O speed : 36.5MB/s
I made few mistakes in past but I believe that generally I got best what LEB can offer over all those years. Some of those VPSs above have easily 200+ days of uptime. Those which use only .US hosts don't know what they are missing... ;-)
This is a neat one. Nice and simple. Keep up the good work, @camarg
By the way, here are the results that I got on a BuyVM (OpenVZ) box.
[root@fyre ~]# sh bench.sh
CPU model : Intel(R) Xeon(R) CPU L5520 @ 2.27GHz
Number of cores : 2
CPU frequency : 2266.838 MHz
Total amount of ram : 512 MB
Total amount of swap : 0 MB
Download speed : (25.7MB/s)
I/O speed : 156MB/s
CPU model : Intel(R) Xeon(R) CPU E5345 @ 2.33GHz
Number of cores : 1
CPU frequency : 1163.750 MHz
Total amount of ram : 64 MB
Total amount of swap : 0 MB
Download speed : (75.4MB/s)
I/O speed : 115MB/s
CPU model : Genuine Intel(R) CPU 000 @ 2.27GHz
Number of cores : 4
CPU frequency : 2266.744 MHz
Total amount of ram : 256 MB
Total amount of swap : 255 MB
Download speed : (40.4MB/s)
I/O speed : 14.4MB/s - They don't agree it is a problem
BuyVM OVZ
CPU model : Intel(R) Xeon(R) CPU L5520 @ 2.27GHz
Number of cores : 2
CPU frequency : 2266.716 MHz
Total amount of ram : 512 MB
Total amount of swap : 0 MB
Download speed : (32.6MB/s)
I/O speed : 31.2MB/s - It's normally better than this. Someone seems to be f....ng the node
BuyVM KVM
CPU model : QEMU Virtual CPU version 0.9.1
Number of cores : 1
CPU frequency : 1866.793 MHz
Total amount of ram : 121 MB - KVM eats some of your ram. it's a kvm-128
Total amount of swap : 236 MB
Download speed : (6.02MB/s)
I/O speed : 73.5MB/s
Hostigation OVZ
CPU model : Intel(R) Xeon(R) CPU E31270 @ 3.40GHz
Number of cores : 1
CPU frequency : 3392.509 MHz
Total amount of ram : 1024 MB
Total amount of swap : 0 MB
Download speed : (1.30MB/s) - Tim upgraded the node recently. people are probably consuming more bandwidth now
I/O speed : 117MB/s
minVPS - France OVZ with vSwap - one of the silent performer. hosted at OVH and haven't given me a single trouble in the last 2-3 months it's with me
CPU model : AMD Opteron(tm) Processor 4174 HE
Number of cores : 2
CPU frequency : 2300.247 MHz
Total amount of ram : 256 MB
Total amount of swap : 256 MB
Download speed : (12.2MB/s)
I/O speed : 61.2MB/s
UptimeVPS - Germany OVZ (Yes the VPS is still running and has been working fine most of the time. maybe the node is paid for this month. )
CPU model : Intel(R) Core(TM) i7 CPU 950 @ 3.07GHz
Number of cores : 2
CPU frequency : 3074.400 MHz
Total amount of ram : 256 MB
Total amount of swap : 0 MB
Download speed : (11.0MB/s)
I/O speed : 69.1MB/s
@camarg Nice script for users. But it would be a new headache for providers as users will tend to test the boxes more often leading to unnecessary stress.
And, when the script runs only in bash, it probably makes sense using #!/bin/bash instead of #!/bin/sh at the top
CPU model : Intel(R) Xeon(R) CPU E5620 @ 2.40GHz
Number of cores : 1
CPU frequency : 1200.077 MHz
Total amount of ram : 512 MB
Total amount of swap : 0 MB
Download speed : (6.66MB/s)
I/O speed : 27.2MB/s
CPU model : Genuine Intel(R) CPU @ 0000 @ 2.40GHz
Number of cores : 4
CPU frequency : 2393.998 MHz
Total amount of ram : 345 MB
Total amount of swap : 127 MB
Download speed : (25.9MB/s)
I/O speed : 299MB/s
quickweb: I/O speed looks
CPU model : Intel(R) Xeon(R) CPU E5620 @ 2.40GHz
Number of cores : 1
CPU frequency : 2400.153 MHz
Total amount of ram : 384 MB
Total amount of swap : 0 MB
Download speed : (78.9MB/s)
I/O speed : 27.7 to 45 MB/s
@camarg, thanks alot for the nice script, hoping you get bored always time to time.
root@keithuk:~# sh bench.sh
CPU model : Intel(R) Xeon(R) CPU X3363 @ 2.83GHz
Number of cores : 1
CPU frequency : 2833.332 MHz
Total amount of ram : 121 MB
Total amount of swap : 255 MB
Download speed : (10.7MB/s)
I/O speed : 32.9MB/s
Kernel : 2.6.32-5-686-bigmem
Uptime : 08:46:13 up 18 days, 23:25, 4 users, load average: 0.96, 0.24, 0.08
Comments
Nicely done!
That is a nice script you made
Nice little thing
Workins nicely on CentOS for me:
Working fine for me on Debian, Ubuntu, CentOS 5.7 and CentOS 6.0
Nice script, keep up the good work
hmmm weird. not working for me. LOL Debian Squeeze, Ubuntu 11. Only works on CentOS 5.7 for me
@LivingSouL most propably you accidentally did some editing. @ line 10 should be executed the direct dump command
@LivingSouL
On debian / Ubuntu you need to run
bash bench.sh(instead ofsh bench.sh). Try again@Kairus Nice results. from which provider is this KVM from?
Works fine on Debian 6 and CentOS 6
Hostigation.
CPU model : QEMU Virtual CPU version 0.9.1 Number of cores : 1 CPU frequency : 2400.152 MHz Total amount of ram : 501 MB Total amount of swap : 1999 MB Download speed : (30.9MB/s) I/O speed : 180MB/s
Thehosthouse.co.uk
bash bench.sh (instead of sh bench.sh). Try again
Ah you're right! Thanks!
123Systems
Hostigation
Local
Dang! My VPSs are more powerful than my Dell XPS LOL
SHAME on you hahaha! J/k Just close that bittorrent and so... :P
Working fine here
[root@web ~]# sh bench.sh
CPU model : Intel(R) Xeon(R) CPU E5645 @ 2.40GHz
Number of cores : 2
CPU frequency : 2399.998 MHz
Total amount of ram : 1024 MB
Total amount of swap : 2047 MB
Download speed : (65.7MB/s)
I/O speed : 424MB/s
Nice try. But here a few remarks.
Below rewritten lines, so you get the idea how it can be solved, with less processes, for each value. Feel free to use it and make it even better .
#!/bin/sh cname=$( awk -F: '/model name/ {name=$2} END {print name}' /proc/cpuinfo ) cores=$( awk -F: '/model name/ {core++} END {print core}' /proc/cpuinfo ) freq=$( awk -F: ' /cpu MHz/ {freq=$2} END {print freq}' /proc/cpuinfo ) tram=$( free -m | awk 'NR==2 {print $2}' ) swap=$( free -m | awk 'NR==4 {print $2}' ) cache=$( wget -O /dev/null http://cachefly.cachefly.net/100mb.test 2>&1 | awk '/\/dev\/null/ {speed=$3 $4} END {gsub(/\(|\)/,"",speed); print speed}' ) io=$( ( dd if=/dev/zero of=test_$$ bs=64k count=16k conv=fdatasync && rm -f test_$$ ) 2>&1 | awk -F, '{io=$NF} END { print io}' ) echo "CPU model : $cname" echo "Number of cores : $cores" echo "CPU frequency : $freq MHz" echo "Total amount of ram : $tram MB" echo "Total amount of swap : $swap MB" echo "Download speed : $cache " echo "I/O speed : $io"ps. I would not do something like "wget some_not_truested_url -O - -o /dev/null |bash". Imagine what happens when the script would contain something like:
No prob
VPS Node benchmark (Full Node)
CPU model : Intel(R) Xeon(R) CPU E31230 @ 3.20GHz
Number of cores : 8
CPU frequency : 3192.925 MHz
Total amount of ram : 16007 MB
Total amount of swap : 18047 MB
Download speed : (78.5MB/s)
I/O speed : 64.8MB/s
For anyone wondering why
sh bench.shdoesn't work on Debian/Ubuntu, it's because Debian and Ubuntu use dash as their sh, instead of bash.Yisp.nl - €11.25/3 Months 128MB Xen VPS
CPU model : Intel(R) Xeon(R) CPU E5520 @ 2.27GHz
Number of cores : 1
CPU frequency : 2266.746 MHz
Total amount of ram : 128 MB
Total amount of swap : 509 MB
Download speed : (9.03MB/s)
I/O speed : 201MB/s <-- woah! (and I was about to cancell it after I got bigger package.. 2 yrs ago! :P)
XenVZ – £6/6 months 96MB OpenVZ/Xen VPS in UK
new location vps:
CPU model : Dual Core AMD Opteron(tm) Processor 280
Number of cores : 2
CPU frequency : 2392.536 MHz
Total amount of ram : 86 MB
Total amount of swap : 127 MB
Download speed : (4.10MB/s)
I/O speed : 60.0MB/s
old location vps:
CPU model : Intel(R) Xeon(R) CPU L5410 @ 2.33GHz
Number of cores : 2
CPU frequency : 2333.332 MHz
Total amount of ram : 86 MB
Total amount of swap : 127 MB
Download speed : (10.6MB/s)
I/O speed : 75.3MB/s
VooServers – £2.25 128MB Xen VPS
CPU model : Intel(R) Xeon(R) CPU X3440 @ 2.53GHz
Number of cores : 4
CPU frequency : 2526.982 MHz
Total amount of ram : 121 MB
Total amount of swap : 255 MB
Download speed : (10.6MB/s)
I/O speed : 67.1MB/s
evorack - £2.34 128MB Xen VPS
CPU model : Intel(R) Xeon(R) CPU 3060 @ 2.40GHz
Number of cores : 1
CPU frequency : 2400.084 MHz
Total amount of ram : 128 MB
Total amount of swap : 511 MB
Download speed : (35.8MB/s)
I/O speed : 52.1MB/s
WeServeIT – €3,75 128MB Xen VPS
CPU model : Intel(R) Xeon(R) CPU E5520 @ 2.27GHz
Number of cores : 1
CPU frequency : 2266.746 MHz
Total amount of ram : 256 MB
Total amount of swap : 511 MB
Download speed : (54.7MB/s)
I/O speed : 151MB/s <- You can't get those for such price anymore! :P
SysCentral – €2.99 Xen VPS
CPU model : Intel(R) Core(TM) i7 CPU 920 @ 2.67GHz
Number of cores : 1
CPU frequency : 2673.298 MHz
Total amount of ram : 128 MB
Total amount of swap : 255 MB
Download speed : (10.6MB/s)
I/O speed : 74.2MB/s
Fanatical VPS – $6/3 Months 256MB OpenVZ VPS
CPU model : Intel(R) Core(TM) i7 CPU 950 @ 3.07GHz
Number of cores : 4
CPU frequency : 3074.392 MHz
Total amount of ram : 512 MB
Total amount of swap : 0 MB
Download speed : (66.3MB/s)
I/O speed : 36.5MB/s
I made few mistakes in past but I believe that generally I got best what LEB can offer over all those years. Some of those VPSs above have easily 200+ days of uptime. Those which use only .US hosts don't know what they are missing... ;-)
This is a neat one. Nice and simple. Keep up the good work, @camarg
By the way, here are the results that I got on a BuyVM (OpenVZ) box.
I like it! A 32MB VPS I use for testing:
Quality Servers UK Xen - pv
BuyVM OVZ
BuyVM KVM
Hostigation OVZ
minVPS - France OVZ with vSwap - one of the silent performer. hosted at OVH and haven't given me a single trouble in the last 2-3 months it's with me
UptimeVPS - Germany OVZ (Yes the VPS is still running and has been working fine most of the time. maybe the node is paid for this month. )
@camarg Nice script for users. But it would be a new headache for providers as users will tend to test the boxes more often leading to unnecessary stress.
And, when the script runs only in bash, it probably makes sense using #!/bin/bash instead of #!/bin/sh at the top
keep up the good work!
Nice script for fast check. I miss only uptime.
chvps.com from swiss
Joining the league
kiloserve: very nice IO speed
quickweb: I/O speed looks
@camarg, thanks alot for the nice script, hoping you get bored always time to time.
Just modify it ¬_¬
AllSimple, using a modified script with dash