flat assembler
Message board for the users of flat assembler.

Index > Windows > Julia Set Example/Benchmark

Goto page Previous  1, 2, 3, 4
Author
Thread Post new topic Reply to topic
LocoDelAssembly
Your code has a bug


Joined: 06 May 2005
Posts: 4624
Location: Argentina
LocoDelAssembly 29 Dec 2008, 16:30
Quote:
---------------------------
Julia SSE Benchmark
---------------------------
AMD Athlon(tm) 64 Processor 3200+

Number of processors: 1

Framerate: 22.560120 fps


In my case at least it gone worse (or the new version made the measuring more accurate?).
Post 29 Dec 2008, 16:30
View user's profile Send private message Reply with quote
dosin



Joined: 24 Aug 2007
Posts: 337
dosin 29 Dec 2008, 19:07
Quote:

AMD Athlon(tm) 64 X2 Dual Core Processor 4200+
Number of processors: 2
Framerate: 48.622131 fps



when ran from 800*600 res it has no flickering... 1024*786 - has some filckers..
but for both gave about the same result.. Very Happy
Post 29 Dec 2008, 19:07
View user's profile Send private message Reply with quote
bitRAKE



Joined: 21 Jul 2003
Posts: 4073
Location: vpcmpistri
bitRAKE 29 Dec 2008, 20:38
kempis wrote:
I'm sorry Sad ...
It's difficult to change the resolution...
Thank you for sharing your work. I understand multiple resolutions was not the original intent and your help is much appreciated.

Attached is a small modification for other resolutions - which unfortunately does not work. Maybe it is my video card or some other problem? I believe all the changes you have indicated have been made.

[edit] appears to be the bytes per line, change IMUL ESI,EAX,SCREEN_WIDTH*4 to:
Code:
mov esi,eax
imul esi,[ddsd.dwLinearSize]    


Description:
Download
Filename: JuliaSSE-1.1_mod.zip
Filesize: 6.99 KB
Downloaded: 224 Time(s)


_________________
¯\(°_o)/¯ “languages are not safe - uses can be” Bjarne Stroustrup
Post 29 Dec 2008, 20:38
View user's profile Send private message Visit poster's website Reply with quote
kempis



Joined: 12 Jun 2008
Posts: 49
kempis 31 Dec 2008, 13:33
bitRAKE wrote:
mov esi,eax
imul esi,[ddsd.dwLinearSize]
I don't know that ddsd.dwLinearSize contains bytes per line. Thank's for sharing it.


LocoDelAssembly wrote:
In my case at least it gone worse (or the new version made the measuring more accurate?).
I don't change the measurement.Maybe the reason is
Kuemmel wrote:
Okay, I see that you interleave the instructions. Sometimes it can be benefitial also to keep the blocks united and just do the iteration-end-check in the end.
Maybe this optimization is processor-dependent.
Post 31 Dec 2008, 13:33
View user's profile Send private message Reply with quote
bitRAKE



Joined: 21 Jul 2003
Posts: 4073
Location: vpcmpistri
bitRAKE 06 Jan 2009, 04:44
Fixed BIOS settings result in slight increase:
Code:
Julia SSE Benchmark
-- -------------------------
Intel(R) Xeon(R) CPU           L5410  @ 2.33GHz
Number of processors: 8
Framerate: 357.696533 fps    
(over 100fps in 1920x1200 - very pretty)
Post 06 Jan 2009, 04:44
View user's profile Send private message Visit poster's website Reply with quote
Alphonso



Joined: 16 Jan 2007
Posts: 295
Alphonso 13 Feb 2009, 11:17
revolution wrote:
You can't disable the thermal throttling, it is an automatic function of the CPU to prevent damage.
Then what does TM1 Enable or TM2 Enable of MSR 1A0h do exactly, I thought this enables or disables thermal throttling in recent Intel CPUs ?


Very nice Kempis
Code:
-- -------------------------
Julia SSE Benchmark
---------------------------
Intel(R) Core(TM)2 Duo CPU     P8400  @ 2.26GHz

Number of processors: 2

Framerate: 106.056213 fps
---------------------------
    
Post 13 Feb 2009, 11:17
View user's profile Send private message Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 20445
Location: In your JS exploiting you and your system
revolution 13 Feb 2009, 11:30
Alphonso wrote:
Then what does TM1 Enable or TM2 Enable of MSR 1A0h do exactly, I thought this enables or disables thermal throttling in recent Intel CPUs ?
Erm, I don't know, perhaps at the kernel level the throttle can be disabled Confused Sounds scary, I certainly hope not, else a virus could cause real damage! Just disable throttling and run all cores at 100%, most users wouldn't notice until too late.
Post 13 Feb 2009, 11:30
View user's profile Send private message Visit poster's website Reply with quote
IronFelix



Joined: 09 Dec 2004
Posts: 141
Location: Russia, Murmansk region
IronFelix 13 Feb 2009, 21:32
Kempis, beautiful fractals!
But I haven't been patient enough for the first time having your programm launched Smile .
Code:
---------------------------
Julia SSE Benchmark
---------------------------
Intel(R) Core(TM)2 Quad CPU     Q9400  @ 2.66GHz

Number of processors: 4

Framerate: 250.640869 fps
---------------------------     


Thank!
Post 13 Feb 2009, 21:32
View user's profile Send private message Reply with quote
Alphonso



Joined: 16 Jan 2007
Posts: 295
Alphonso 14 Feb 2009, 18:29
revolution wrote:
Erm, I don't know, perhaps at the kernel level the throttle can be disabled Confused Sounds scary, I certainly hope not, else a virus could cause real damage! Just disable throttling and run all cores at 100%, most users wouldn't notice until too late.
Laughing I don't think it would be as bad as that, AFAIK the CPU should still shut down if it gets really really hot ie enter a halt state and need resetting to start up again. Hopefully the kernel will take notice before this happens and save our data but who knows. What if active cooling stopped ie a broken fan in a laptop, would even a working throttling system be enough to keep the cpu below the danger line at maximum demand?
Post 14 Feb 2009, 18:29
View user's profile Send private message Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 20445
Location: In your JS exploiting you and your system
revolution 15 Feb 2009, 01:20
Alphonso wrote:
What if active cooling stopped ie a broken fan in a laptop, would even a working throttling system be enough to keep the cpu below the danger line at maximum demand?
I can answer that because one of my laptops suffers from this problem. The PSU abruptly shuts down the whole system. Although I hope that this is an automatic hardware operation, I would not be happy to learn that something as stupid as a kernel bug/virus could make my laptop melt and burn with no hardware protection.
Post 15 Feb 2009, 01:20
View user's profile Send private message Visit poster's website Reply with quote
kempis



Joined: 12 Jun 2008
Posts: 49
kempis 17 Feb 2009, 14:06
I'm sorry that I don't collect your benchmark result. Actually it just for fun.

BTW, So, is the program dangerous, and can cause serious damage?

So, I want to make screensaver version. But how? The CPU usage is too high. If it's delayed, the animation will be slow.
Post 17 Feb 2009, 14:06
View user's profile Send private message Reply with quote
Azu



Joined: 16 Dec 2008
Posts: 1159
Azu 18 Feb 2009, 00:57
kempis wrote:
I'm sorry that I don't collect your benchmark result. Actually it just for fun.

BTW, So, is the program dangerous, and can cause serious damage?

So, I want to make screensaver version. But how? The CPU usage is too high. If it's delayed, the animation will be slow.
Maybe if you generate the set before hand and save it as a bunch of pictures and make a slide show out of them?
Post 18 Feb 2009, 00:57
View user's profile Send private message Send e-mail AIM Address Yahoo Messenger MSN Messenger ICQ Number Reply with quote
kempis



Joined: 12 Jun 2008
Posts: 49
kempis 11 Mar 2009, 02:13
Azu wrote:
Maybe if you generate the set before hand and save it as a bunch of pictures and make a slide show out of them?
Thank's for your suggestion... but it's slideshow, not animation
Post 11 Mar 2009, 02:13
View user's profile Send private message Reply with quote
kalambong



Joined: 08 Nov 2008
Posts: 165
kalambong 08 Apr 2010, 05:05
Any update available?
Post 08 Apr 2010, 05:05
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  
Goto page Previous  1, 2, 3, 4

< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.