News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

This is too slow

Started by frktons, November 18, 2010, 03:10:21 AM

Previous topic - Next topic

Antariy

Quote from: dedndave on November 22, 2010, 10:29:30 PM
that way, you know that Michael's timing macro will work on the machine
i assume that Alex's code verifies that

Yes, I check for presence of the CPUID. All other code of CPUid routine is i386.

About restoring of the affinity - I'm not sure that this should be done, since program will exit. Just setting affinity as in start of piece, and no restoring after all tests.

Antariy

This is the display my version produces:
...
This is your version:
...
look carefully and see what I mean.


Well, I'm not insert algos about a week - just not seen that Manager is appreciated, or worth for efforts - no feedback - no bothering  :green2

I would like to know where to put the :


At the same start of the program.

dedndave

no - the program will not exit
it simply allows use of all cores during execution of the rest of the TestBed code

Michael's macros use RDTSC
if it is executed on a machine that does not support RDTSC, it will hang


dedndave

RDTSC support may be verified by reading

CPUID with EAX = 1
EDX, bit 4

Antariy

Quote from: dedndave on November 22, 2010, 10:38:17 PM
no - the program will not exit
it simply allows use of all cores during execution of the rest of the TestBed code

Michael's macros use RDTSC
if it is executed on a machine that does not support RDTSC, it will hang

The program will run forever? :P No, after all it will exit, and running of post-testing code would be possible for power of one code  :lol

I honestly hope, that nobody will run the TestBed on i486 machine :green2

frktons

Quote from: Antariy on November 22, 2010, 10:36:55 PM
This is the display my version produces:
...
This is your version:
...
look carefully and see what I mean.


Well, I'm not insert algos about a week - just not seen that Manager is appreciated, or worth for efforts - no feedback - no bothering  :green2

I would like to know where to put the :


        INVOKE  GetCurrentProcess
        INVOKE  SetProcessAffinityMask,eax,1
[/color]

At the same start of the program.


I told you that your manager will be the standard. I don't care about too much feed-back, and we had
already a lot of feed-back.
Dave is giving us a lot of feed-back, and others have done as well: oex, ramguru, Michaelw, clive, GregL
Hutch, jj2007 and so on.

I'll leave the Tesbed as it is in your hands. Modify the Manager, and leave the columns as they are,
eliminate those rows about "advertisement", and make any optimization you want.

I'll take back control of Testbed in about 2 weeks. During this time do whatever you like with it.  :lol
Mind is like a parachute. You know what to do in order to use it :-)

Antariy

Quote from: dedndave on November 22, 2010, 10:41:38 PM
RDTSC support may be verified by reading

CPUID with EAX = 1
EDX, bit 4

Pentium has it, AFAIK

Antariy

I told you that your manager will be the standard. I don't care about too much feed-back, and we had
already a lot of feed-back...


...feedback not about manager :lol

I'll leave the Tesbed as it is in your hands. Modify the Manager, and leave the columns as they are,
eliminate those rows about "advertisement", and make any optimization you want.


Why did you dislike the "advertisement" strings? The is very funny, in style of modern world :green2


frktons

Mind is like a parachute. You know what to do in order to use it :-)

frktons

Quote from: Antariy on November 22, 2010, 10:46:44 PM
I told you that your manager will be the standard. I don't care about too much feed-back, and we had
already a lot of feed-back...


...feedback not about manager :lol

I'll leave the Tesbed as it is in your hands. Modify the Manager, and leave the columns as they are,
eliminate those rows about "advertisement", and make any optimization you want.


Why did you dislike the "advertisement" strings? The is very funny, in style of modern world :green2

Ask Dave what he thinks about advertisement. I'm preparing the luggage, because tomorrow I have a flight
to catch. No Testbed development for about 2 weeks. Have a nice optimization trip with Dave. I think he
could be a good advisor.  :P But don't believe everything he says.  :lol
Mind is like a parachute. You know what to do in order to use it :-)

Antariy

Quote from: frktons on November 22, 2010, 10:50:02 PM
Ask Dave what he thinks about advertisement.

Dave, what you think about Manager's default description for the non-existent algos? Did you run it? Then you shoud see image as in the TV  :bg

dedndave

yes - i was waiting to hear...
"Oh, I wish I were an Oscar Meyer hot dog
for that is truly what I want to be......."


listen guys....
CPUID, RDTSC, affinity....
i am just giving my best knowledge and info
you can use it or ignore it   :bg

there are other ways to acquire more stable result numbers
but, if you are not interested in the basics, i know you won't be interested in those

Antariy

Quote from: dedndave on November 22, 2010, 10:54:31 PM
yes - i was waiting to hear...
"Oh, I wish I were an Oscar Meyer hot dog
for that is truly what I want to be......."

So, it is quite useful as description, or it is annoying? Second is preferable, and if it is - the it will be that  :green2

frktons

Quote from: dedndave on November 22, 2010, 10:54:31 PM
yes - i was waiting to hear...
"Oh, I wish I were an Oscar Meyer hot dog
for that is truly what I want to be......."

In other words he thinks you can throw that rubbish where you like, but not in the Testbed.  :lol
Mind is like a parachute. You know what to do in order to use it :-)