Purebench32 v1 ready, need some help still

Everything else that doesn't fall into one of the other PB categories.
User avatar
pdwyer
Addict
Addict
Posts: 2813
Joined: Tue May 08, 2007 1:27 pm
Location: Chiba, Japan

Post by pdwyer »

GeoTrail wrote:It crashes on my computer.
After the CPU test is done, the result is displayed really quickly then the program ends with an error from Vista saying the program has stopped working. Same result when running it in the PB IDE and as a compiled console app.
I tested this a bit on vista, I don't have the ide installed but I copied the exe there and it ran okay ( http://www.dwyer-family.net/download/PureBench32.exe )

Comparing an XP VM with a vista VM, the XP Box gets better CPU stats and a better multiplier for threads (on the same underlying hardware), it also gets better 2d gfx (but that doesn't mean much on a VM). For disk checks though, the vista one gives very odd numbers millions of times higher than my PC. I suspect there is some new caching there and the whole thing is happening in memory. I might add that flush file buffers code in there as a separate uncached disk check and see.

I compared the results to some other benchmark programs and I think I need to work on the disk stats a bit more and add a 3D GFX. It seems that many older Graphics cards run 2d graphics slightly better for some reason so I'm not really catching the data I want.

small steps... :)
Paul Dwyer

“In nature, it’s not the strongest nor the most intelligent who survives. It’s the most adaptable to change” - Charles Darwin
“If you can't explain it to a six-year old you really don't understand it yourself.” - Albert Einstein
User avatar
ts-soft
Always Here
Always Here
Posts: 5756
Joined: Thu Jun 24, 2004 2:44 pm
Location: Berlin - Germany

Post by ts-soft »

=====================================================================
| PureBench32 v1.0 |
| by Paul Dwyer |
| and the PB community |
=====================================================================

CPU Tests:
Single thread score: 15269
Multi thread iterations: 39187
Multi thread perf increase: 2.57x

Disk:
Cached Disk Writes: 122485172
Disk Reads: 105627035

Grphics:
2D Graphics Score: 40435
AMD X2 6000+
GeForce 8600 GT (512MB)
Vista Ultimate 64 Sp1

Only the last postet Exe work on my System
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
Image
User avatar
pdwyer
Addict
Addict
Posts: 2813
Joined: Tue May 08, 2007 1:27 pm
Location: Chiba, Japan

Post by pdwyer »

Vista is definately doing something funky with the disk buffers! (which is a good feature I guess provided the power on the system or disk doesn't die suddenly)

I'll try and add a non cached disk check.

What do you mean about only the last posted exe worked? do you mean that you couldn't compile, only run it? (even with debug off and threadsafe on?)

Thanks for the test results
Paul Dwyer

“In nature, it’s not the strongest nor the most intelligent who survives. It’s the most adaptable to change” - Charles Darwin
“If you can't explain it to a six-year old you really don't understand it yourself.” - Albert Einstein
User avatar
ts-soft
Always Here
Always Here
Posts: 5756
Joined: Thu Jun 24, 2004 2:44 pm
Location: Berlin - Germany

Post by ts-soft »

With Threadsafe and Debugger off, it works
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
Image
User avatar
pdwyer
Addict
Addict
Posts: 2813
Joined: Tue May 08, 2007 1:27 pm
Location: Chiba, Japan

Post by pdwyer »

I found what was happening with Vista! :lol:

The default location for the app is c:\ to write the file but vista doesn't let it get created so it just failes on each loop which is a lot faster than reading and writing to the disk. If I use /p and set a path I can write to then the performance goes to realistic levels.

I'll need to check that the app can write to the specified location and show an error :P
Paul Dwyer

“In nature, it’s not the strongest nor the most intelligent who survives. It’s the most adaptable to change” - Charles Darwin
“If you can't explain it to a six-year old you really don't understand it yourself.” - Albert Einstein
User avatar
GeoTrail
Addict
Addict
Posts: 2799
Joined: Fri Feb 13, 2004 12:45 am
Location: Bergen, Norway
Contact:

Post by GeoTrail »

That worked great. Guess it was the threadsafe ;)
=====================================================================
| PureBench32 v1.0 |
| by Paul Dwyer |
| and the PB community |
=====================================================================

CPU Tests:
Single thread score: 24328
Multi thread iterations: 54032
Multi thread perf increase: 2.22x

Disk:
Cached Disk Writes: 101281526
Non Cached Disk Writes: 85631425
Disk Reads: 87732823

Grphics:
2D Graphics Score: 29768
I Stepped On A Cornflake!!! Now I'm A Cereal Killer!
User avatar
pdwyer
Addict
Addict
Posts: 2813
Joined: Tue May 08, 2007 1:27 pm
Location: Chiba, Japan

Post by pdwyer »

You are using vista are you? Those disk scores imply that the file couldn't be created. I need to put the check in for that still. you may need the /p option to run it in your docs directory till I fix it

What's your CPU? Core 2 duo or AMD dual? What's the Ghz?

Cheers for the test run

EDIT: I've updated the main code and the download file, if the Disk check file can't be created the checks return 0 right away :)
Paul Dwyer

“In nature, it’s not the strongest nor the most intelligent who survives. It’s the most adaptable to change” - Charles Darwin
“If you can't explain it to a six-year old you really don't understand it yourself.” - Albert Einstein
User avatar
blueb
Addict
Addict
Posts: 1125
Joined: Sat Apr 26, 2003 2:15 pm
Location: Cuernavaca, Mexico

Post by blueb »

pdwyer wrote:=====================================================================
| PureBench32 v1.0 |
| by Paul Dwyer |
| and the PB community |
=====================================================================

CPU Tests:
Single thread score: 29092
Multi thread score: 103754
Multi thread perf increase: 3.57x

Disk:
Non Cached Disk Writes: 1178
Cached Disk Writes: 1132
Disk Reads: 66436

Grphics:
2D Graphics Score: 32047
CPU: Intel Core 2 6600 @ 2.4GHz
memory: 2 gigs
Grahics: GForce 7300GT
Win XP spk3


--blueb
- It was too lonely at the top.

System : PB 6.21(x64) and Win 11 Pro (x64)
Hardware: AMD Ryzen 9 5900X w/64 gigs Ram, AMD RX 6950 XT Graphics w/16gigs Mem
User avatar
GeoTrail
Addict
Addict
Posts: 2799
Joined: Fri Feb 13, 2004 12:45 am
Location: Bergen, Norway
Contact:

Post by GeoTrail »

The CPU is a Intel Centrino dual core 2 at 2 GHz.
Here are the results from the updated exe:
=====================================================================
| PureBench32 v1.0 |
| by Paul Dwyer |
| and the PB community |
=====================================================================

CPU Tests:
Single thread score: 24452
Multi thread score: 52684
Multi thread perf increase: 2.15x

Disk:
Non Cached Disk Writes: 0
Cached Disk Writes: 0
Disk Reads: 0

Grphics:
2D Graphics Score: 29333
I Stepped On A Cornflake!!! Now I'm A Cereal Killer!
User avatar
Demivec
Addict
Addict
Posts: 4283
Joined: Mon Jul 25, 2005 3:51 pm
Location: Utah, USA

Post by Demivec »

AMD Atholon 64 3500+ 2.21GHz 2GB Ram; Nvidia GeForce 6600; Windows XP SP3; PureBasic v4.30b3.

My test results from the updated exe:

Code: Select all

=====================================================================
|                         PureBench32  v1.0                         |
|                           by Paul Dwyer                           |
|                        and the PB community                       |
=====================================================================

CPU Tests:
    Single thread score:         13913
    Multi thread score:         36729
    Multi thread perf increase:  2.64x

Disk:
    Non Cached Disk Writes:       414
    Cached Disk Writes:           228
    Disk Reads:                  22371

Grphics:
    2D Graphics Score:           108832
User avatar
pdwyer
Addict
Addict
Posts: 2813
Joined: Tue May 08, 2007 1:27 pm
Location: Chiba, Japan

Post by pdwyer »

It's starting to look like flushing buffers and playing with disk caches isn't really meaningful, I think I'll get rid of that little extra.

CPU status look good though and 2d graphics do to, but not in the sense of "I have a better card" older cards do seem to be doing this better but the numbers are not syncing with CPU scores at all which was my worry.

I think I will try adding the PB OpenGL cube with an FPS count, I can't tell if it will be meaningful or not so it might be worth adding to find out.

The other thing I will add next is exclusion switches so you don't have to run all tests, you can just do disk or cpu or whatever.

Any other ideas? additions, removals, improvements?
Paul Dwyer

“In nature, it’s not the strongest nor the most intelligent who survives. It’s the most adaptable to change” - Charles Darwin
“If you can't explain it to a six-year old you really don't understand it yourself.” - Albert Einstein
User avatar
GeoTrail
Addict
Addict
Posts: 2799
Joined: Fri Feb 13, 2004 12:45 am
Location: Bergen, Norway
Contact:

Post by GeoTrail »

Maybe you could make a simple website, ala 3dmark that allows the users to compare the results :)
I Stepped On A Cornflake!!! Now I'm A Cereal Killer!
Post Reply