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.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
Comments
I just push a fix to new branch, can you test it ? The problem is not formatting, but faulty loop control.
I like your new domain name 🥳😏
great ! sadly i am paranoid plus have terrible trust issues
how would i self-host this actually? that way i can keep an old version ( so i can look thru the code plus that can only be changed/updated by me)
Thanks, it wouldn't be possible without your support
Absolutely— you can start by putting benchy in your PATH, in Ubuntu that would be
/home/user/bin
for local script, and/usr/local/bin
for global script (works across user).Now you can invoke the script by typing
benchy
.Binaries
You can also bring your own binaries rather than using precompiled one, simply install them one by one, below is list of binaries used:
Benchy will automatically detect if you own them, and will revert to your installed binary instead of downloading the precompiled one.
Clone to your local git library then you can modify or pull commits from master branch as needed
It says 404
I merged the branch/pr, you can try with
benchy.pw
domain without dev.Thanks. I tried it again but it still shows something weird
http://sprunge.us/T75OJl
no i meant i want to host it like you so i can just run wget -qO- benchy.thechemicalworkshop.com/dev | sh
You can clone the repo, then setup your htaccess so your domain pointing to your raw GitHub script. I host the domain (benchy.pw) on shared hosting, so the option available for me was apache with htaccess.
I think it's also possible with nginx.
Hello everyone, long time no see in this thread, I have some update to share with you all.
You can try this new releases.
The
-s
flag make it use speedtest rather than iperf3, the advantage of speedtest is that they have more (!) server to pick from, so I have no trouble filling server for each of continent benchy served (Asia, Africa, North America, South America, Europe, and Australia).Credit to this github list which contain exhaustive list of speedtest server.
Thanks for keeping up with me
This is the result on my greencloudvps (excluding geekbench result).
On all Oracle instances (No matter ARM, x86, higher disk capacity. All are on Ubuntu 20.04/22.04) I get this error:
"Insufficient storage on /dev/sda15"
Partitions in one of instances:
I dont know how this script is coded, but it seems like it chooses partition that has least % usage?
I suggest to add free space check, if it fails then it ignores that partition (sda15) so then only sda1 could be chosen. If free space check doesn't fail then it would work like now so only based on %. So it would fix problem without introducing any others.
Second bug (?)
On my RackNerd instance 'fio' 4k test never works and it says '1' instead of '4k'.
Let me know how I can extract more info about that error so we can try to fix it
"fio --name=rand_rw_4k --ioengine=libaio --rw=randrw --rwmixread=50 --bs=4k --iodepth=64 --numjobs=2 --size=2G --runtime=30 --gtod_reduce=1 --direct=1 --filename=/root/test.fio --group_reporting"
Output:
So 'fio' works without problems using same commands as script. There's some problem with communication between 'fio' and 'benchy'.
Suggestion: can you provide output in json format?
Benchy will skip a partition which have less then 512 mb space, as that was the space required to perform fio test— on arm system the fio test file will occupy 512 mb. You can see the relevant code below.
From your output, you seem to only have 103 mb of space, thus the message.
I put
1
there to imitate non-zero exit status, in shell that translate to failure when executing command. In your case the fio 4k run has not been successful.Thanks for your report ! I'll definitely look into it.
If enough people requested it, I could try implementing it. Otherwise, there's no plan of doing so.
But it should choose 153G partition instead of 103M one. 103M cant have enough free space so it should be ignored so 153G would be chosen.
Well it should behave that way, then I assume the 153G partition left untouched ? Can you post full output here?
153G partition has everything (system, home etc). This 100M partition is on every Ubuntu template from Oracle, doesnt matter if its x86 or ARM, so everybody with Oracle+Ubuntu can reproduce it. It doesnt even matter if its 20.04 or 22.04.
You need full output of which commands exactly?
Sorry if I'm being unclear, I meant does the 153G partition successfully benched ? Because your previous comment left me impression that the fio benchmark has failed at all. Unfortunately I cannot confirm this as I don't have oracle instance.
No. It wasnt benched. Benchy chose 103M partition instead of bigger, main one (153G in this one example) and then failed. It does it on different 4 Oracle instances on Ubuntu.
It should chose bigger partition, like yabs.sh does. Yabs.sh works fine.
It supposed to work on multi partition layout, can you pm me the details ?
Hi, I have some update to share with you.
Improvement:
I also have added support for json output, you can test this functionality by embedding
-j
or--json
. This is example of json output → http://sprunge.us/zvwzrG.For easier use of this script, you can setup an alias to execute benchy—I have added instruction on how to do so.
Let me know if you had further improvement ideas
Awesome. Thanks boss, hopefully this fixes issue IV had on Manjaro.
What issues you encounter on Manjaro ? Currently I don't have access to manjaro, but I see that they are based on Arch, I just tried on arch and it works without problem.
Hello!
At the request of OP, I changed the thread title from
"I build YABS spin off with additional enhancement"
to
"Benchy.pw | Simple server benchmarking script based on YABS"
Best wishes!
Tom
Good day everyone, I just added an option to use either gb4 or both (gb4 and gb5) simultaneously.
Output (in json)
Thanks for keeping up with this thread, I'm open to any ideas
Is there way to run disk tests on specific partition. Say my machine has 4 different type of raid arrays, will it check all or I any specific one ?
No currently there isn't, but surely can be done. By default the script should detect all available disk on system and attempt to bench them one-by-one.
What provider you using for this bench?
I highlighted the answer