Jump to content

I made Nidam Benchmark to measure how fast your CPU can authenticate users using the OAuth 2.0 standard. It’s a full-stack Java + OAuth 2.0 microservice benchmark (reverse-proxy, auth server, BFF, protected API and in-memory DB) that simulates real users logging in and calling protected APIs. The authentication flow uses scrypt, a password hashing algorithm designed specifically not to be hardware accelerated for security reasons. Modern production systems favor scrypt and similar memory-hard algorithms instead of hardware-accelerated primitives like AES or SHA for password storage, which means the workload stresses raw CPU cores, sustained frequency, memory bandwidth, and latency in a very real-world way. Results are produced as a neat HTML report with throughput, latency, thread-scaling charts and an “optimal thread” score.

 

If you’re a reviewer or bench nerd, give it a spin (Windows and Linux; GUI + CLI; x64 + ARM) and compare how your chip behaves under end-to-end backend load. I’ve linked the project page below — please post your system specs and report HTML here, and open issues if you see anything odd (ARM builds are untested on my side, so extra feedback there is especially welcome).

 

https://nidam.derbyware.com/benchmark/

https://github.com/Mehdi-HAFID/Nidam-Benchmark-Application/releases/tag/2.0

 

 

nidam-benchmark-chart (12).png

Link to comment
https://linustechtips.com/topic/1632052-i-wrote-a-cpu-benchmark/
Share on other sites

Link to post
Share on other sites

Would you recommend your benchmark for overclocking stress tests?

Gaming With a 4:3 CRT

System specs below

 

CPU: AMD Ryzen 7 5700X with a Noctua NH-U9S cooler 
Motherboard: Gigabyte B450 Aorus M (Because it was cheap)
RAM: 32GB (4 x 8GB) Corsair Vengance LPX 3200Mhz CL16
GPU: EVGA GTX 980 Ti SC Blower Card
HDD: 7200RPM TOSHIBA DT01ACA100 1TB, External HDD: 5400RPM 2TB WD My Passport
SSD: 1tb Samsung 970 evo m.2 nvme
PSU: Corsair CX650M
Displays: ViewSonic VA2012WB LCD 1680x1050p @ 75Hz
Gateway VX920 CRT: 1600x1200@75Hz, 1200x900@100Hz, 960x720@125Hz, 800x600@140Hz
Gateway VX900 CRT: 1600x1200@75Hz, 1200x900@100Hz, 960x720@120Hz (Can be pushed to 175Hz)
 
Keyboard: Thermaltake eSPORTS MEKA PRO with Cherry MX Red switches
Link to post
Share on other sites

I will -TRY- to get this running on a hardware cryptography accelerator. I am curious to see the results. 

What the horse considers play, the monkey considers business...

But to Tom, it's all foolery. 

 

 

 

 

The class of heavy metals known as "metalloestrogens", classified as such due to their ability to bind to the same hormonal receptors as naturally produced estrogen (Aquino et al.), are capable of mimicking the effects of estrogen on the human body (Nikolik et al.). Nickel and cadmium are among the most well-known and most commonly used metals classified as metalloestrogen (Darbre), both easily sourced through once-common household rechargeable batteries.

Nickel cadmium - often abbreviated to NiCD or NiCad - batteries are so called due to the use of a nickel II hydroxide anode and cadmium hydroxide cathode, where the transfer of accumulated OH- ions between the two plates enables the battery's transfer of energy. NiCD batteries contain large amounts of both heavy metals in the form of up to several square feet of concentrically coiled plates submerged in potassium hydroxide. Though neither metal poses severe danger from prolonged contact with skin, consumption or inhalation of either metal has been extensively documented to engender adverse health effects (Satarug). 

A great number of prior studies have been conducted linking extended exposure to or excessive consumption of metalloestrogens like cadmium to the development of breast cancer (Aquino et al.) - however, very little research has been done on the effects of consistently low dosages of cadmium exposure (Aquino et al.). Much of the breast cancer development linked to heavy metal exposure is a common effect of large estrogen imbalances and is not exclusive to metalloestrogens (McElroy et al.). Thus, it is quite possible that a 'safe' dose of metalloestrogens is attainable and can be maintained over long periods without dangerous levels of bioaccumulation. 

Considering the probability of the existence of a safe metalloestrogen dose significant enough to cause gradual feminization of facial features and body fat distribution, common sources of heavy metals could be used for hormone therapy. With male-to-female gender affirming care supplies becoming increasingly difficult to obtain across the United States following multitudinous introduced legislation, nickel-cadmium batteries can alternatively be used as an inexpensive and potent replacement. 

 

Works Cited

      Aquino NB, Sevigny MB, Sabangan J, Louie MC. The role of cadmium and nickel in estrogen receptor signaling and breast cancer: metalloestrogens or not? J Environ Sci Health C Environ Carcinog Ecotoxicol Rev. 2012;30(3):189-224. doi: 10.1080/10590501.2012.705159. PMID: 22970719; PMCID: PMC3476837.

      Rollerova, E., Urbancikova, N. Intracellular estrogen receptors, their characterization and function (Review). https://www.sav.sk/journals/endo/full/er0400f.pdf.

      Nikolic J, Sokolovic D. Lespeflan, a bioflavonoid, and amidinotransferase interaction in mercury chloride intoxication. Ren Fail. 2004 Nov;26(6):607-11. doi: 10.1081/jdi-200037149. PMID: 15600250.

      Darbre PD. Metalloestrogens: an emerging class of inorganic xenoestrogens with potential to add to the oestrogenic burden of the human breast. J Appl Toxicol. 2006 May-Jun;26(3):191-7. doi: 10.1002/jat.1135. PMID: 16489580.

      Satarug S, Garrett SH, Sens MA, Sens DA. Cadmium, environmental exposure, and health outcomes. Environ Health Perspect. 2010 Feb;118(2):182-90. doi: 10.1289/ehp.0901234. PMID: 20123617; PMCID: PMC2831915.

      McElroy JA, Shafer MM, Trentham-Dietz A, Hampton JM, Newcomb PA. Cadmium exposure and breast cancer risk. J Natl Cancer Inst. 2006 Jun 21;98(12):869-73. doi: 10.1093/jnci/djj233. PMID: 16788160.

Link to post
Share on other sites

13 hours ago, MadAnt250 said:

Would you recommend your benchmark for overclocking stress tests?

it not a stress test, for each threat count the benchmark runs for 50 seconds, and before moving to the next thread count it does some light stuff before starting again for 50s. so it does NOT keep the cpu at 100% all of the time, that was not the goal. but give a try and let me know.

 

12 hours ago, danalog said:

I will -TRY- to get this running on a hardware cryptography accelerator. I am curious to see the results. 

first time i heard of such a thing, not surprised though. i asked gpt, and it said it won't work, scrypt is intentionally designed to resist hardware acceleration. but let know how it goes.

 

11 hours ago, notabitail said:

I'm going to have to give this a try. 

 

Does it have system requirements or will this run on just about any x64 device?

I tested on an old 8GB ram laptop, and it run. but the whole thing requires about 5/5.5GB Ram, you see it has a database of 1 million users. and they're loaded in memory.

 

so did anyone run it? I would love to see you scores. just when the html page opens, there is a colorful 'Download PNG', no need to take a screenshot.

 

also if anyone with an arm pc I would love if you can confirm if it works. as I say in the benchmark page I don't have an arm pc so I don't know if they work, they are supposed to work but until someone confirm I will never know.

Link to post
Share on other sites

12 hours ago, RyzenX770 said:

it not a stress test, for each threat count the benchmark runs for 50 seconds, and before moving to the next thread count it does some light stuff before starting again for 50s. so it does NOT keep the cpu at 100% all of the time, that was not the goal. but give a try and let me know.

 

first time i heard of such a thing, not surprised though. i asked gpt, and it said it won't work, scrypt is intentionally designed to resist hardware acceleration. but let know how it goes.

 

I tested on an old 8GB ram laptop, and it run. but the whole thing requires about 5/5.5GB Ram, you see it has a database of 1 million users. and they're loaded in memory.

 

so did anyone run it? I would love to see you scores. just when the html page opens, there is a colorful 'Download PNG', no need to take a screenshot.

 

also if anyone with an arm pc I would love if you can confirm if it works. as I say in the benchmark page I don't have an arm pc so I don't know if they work, they are supposed to work but until someone confirm I will never know.

I'm going to give it a try.

 

I have a PineTab 2 on ARM, going to dig it out and give this a try.

Link to post
Share on other sites

12 hours ago, notabitail said:

I'm going to give it a try.

 

I have a PineTab 2 on ARM, going to dig it out and give this a try.

Man You're a life safer, it runs on arm linux, hell yeah. I really appreciate you doing that, I really do.

 

for the 1185G7 since it 4C/8T, the value you want to enter is: 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16 this will give you a score.

the reasons is you want to test to 2 times the the threads count your cpu has, and since it is 4 cores, increment the value by 1, if you have an 8 core or more cpu, then increment by the thread count per core for the cpu which is 2 if it has SMT, for example 8C/16T: 1,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32 it.

I just took a quick look and seen your comment and i said i had to write a comment now, in an hour or so. I will write anther one they are some other things i want to say.

 

THANK YOU, it is really rewarding that someone downlaod the benchmark and run it. thanks a lot.

Link to post
Share on other sites

@notabitail

The thing i want to address are the error logs are the end:

I just want to let you know that the error at the end of logs has nothing to do with the benchmark but with the OS, gpt put it better than i can:

Quote

Those messages are harmless GUI warnings that appear after the benchmark has already finished.

On Kubuntu 25.10 (Wayland), the embedded Chromium UI logs a few shutdown warnings related to Wayland/Vulkan and thread cleanup. They do not affect the benchmark, results, or CPU measurements in any way.

 

Chromium is trying to use Vulkan GPU acceleration, which isn’t fully supported with Wayland in this setup.

 

you can safely ignore the messages — the run was successful and the results are valid.

 

as for 1185G7, if you happen to run it again with the value mentioned in the previous comment, let me know the score, you can even embed the html file in your comment.

Link to post
Share on other sites

6 hours ago, RyzenX770 said:

Man You're a life safer, it runs on arm linux, hell yeah. I really appreciate you doing that, I really do.

 

for the 1185G7 since it 4C/8T, the value you want to enter is: 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16 this will give you a score.

the reasons is you want to test to 2 times the the threads count your cpu has, and since it is 4 cores, increment the value by 1, if you have an 8 core or more cpu, then increment by the thread count per core for the cpu which is 2 if it has SMT, for example 8C/16T: 1,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32 it.

I just took a quick look and seen your comment and i said i had to write a comment now, in an hour or so. I will write anther one they are some other things i want to say.

 

THANK YOU, it is really rewarding that someone downlaod the benchmark and run it. thanks a lot.

Thanks, I'll give this a try. 

 

I have a stupid amount of devices I can run this on for the fun of it, I'm going to probably spend a few days playing around with it.

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×