Need some guidance and advice on optimizing my optimized app. :-)

Message boards : Number crunching : Need some guidance and advice on optimizing my optimized app. :-)
Message board moderation

To post messages, you must log in.

Previous · 1 · 2 · 3 · 4 · 5 · Next

AuthorMessage
David S
Volunteer tester
Avatar

Send message
Joined: 4 Oct 99
Posts: 18352
Credit: 27,761,924
RAC: 12
United States
Message 1597965 - Posted: 7 Nov 2014, 2:53:07 UTC - in response to Message 1597956.  

I need to check who chose SSE2 - was that David, or the installer's CPU detection?

From his post:
"I chose the SSE2 apps on the first page of the installer"


My i5 (gen 2) pre-selects SSE4.2 - I'd expect the same for an i7 (unless it has AVX)

He talks about AstroPulse (for which I think only SSE2 and SSE3 variants are in the installer)
(but he maybe also "chose the SSE2 apps" for MultiBeam?)

I chose SSE2 for both because, as far as I could tell, that was what I chose before. If it's wrong, I'll go back and do SSE3. How do I know what I should use?

The installer would've had the correct version already selected for that app before you changed it. ;-)

Cheers.

And yet it doesn't for the cuda apps?
David
Sitting on my butt while others boldly go,
Waiting for a message from a small furry creature from Alpha Centauri.

ID: 1597965 · Report as offensive
Profile Wiggo
Avatar

Send message
Joined: 24 Jan 00
Posts: 34744
Credit: 261,360,520
RAC: 489
Australia
Message 1597968 - Posted: 7 Nov 2014, 2:56:10 UTC - in response to Message 1597965.  

I need to check who chose SSE2 - was that David, or the installer's CPU detection?

From his post:
"I chose the SSE2 apps on the first page of the installer"


My i5 (gen 2) pre-selects SSE4.2 - I'd expect the same for an i7 (unless it has AVX)

He talks about AstroPulse (for which I think only SSE2 and SSE3 variants are in the installer)
(but he maybe also "chose the SSE2 apps" for MultiBeam?)

I chose SSE2 for both because, as far as I could tell, that was what I chose before. If it's wrong, I'll go back and do SSE3. How do I know what I should use?

The installer would've had the correct version already selected for that app before you changed it. ;-)

Cheers.

And yet it doesn't for the cuda apps?

Yeah, that part is a bit of a bummer sadly. :-(

Cheers.
ID: 1597968 · Report as offensive
Richard Haselgrove Project Donor
Volunteer tester

Send message
Joined: 4 Jul 99
Posts: 14650
Credit: 200,643,578
RAC: 874
United Kingdom
Message 1598059 - Posted: 7 Nov 2014, 12:50:04 UTC - in response to Message 1597949.  

I need to check who chose SSE2 - was that David, or the installer's CPU detection?

From his post:
"I chose the SSE2 apps on the first page of the installer"


My i5 (gen 2) pre-selects SSE4.2 - I'd expect the same for an i7 (unless it has AVX)

He talks about AstroPulse (for which I think only SSE2 and SSE3 variants are in the installer)
(but he maybe also "chose the SSE2 apps" for MultiBeam?)

OK, found it. I had a very late call (well into Beta testing) to withdraw SSE2_r2692, which had previously been considered a release candidate but which turned out to run a lot slower than expected. We had a bit of a scramble to find a replacement, and eventually settled on r2672. I made that change OK, but in the rush I slipped up on editing the AIstub - my mistake, and nobody else is to blame.

There are, in fact, very few CPUs capable of running a 64-bit operating system but restricted to a maximum of SSE2 - really, only the AMD 'Athlon 64' and 'Opteron' ranges produced before the introduction of the 'Venice' core in April 2005.

I want to avoid doing a full maintenance release if I possibly can, but the fix will be in the upcoming release for the API 'zombie' bug and the new XML-based configuration tool - still in testing. In the meantime, the vast majority of users (including all Intel CPU users) will be able to select the SSE3 version instead and run that without problems.

I'll see if I can replace the 64-bit 0.43a setup file with a fixed version, but I believe there may be restrictions on re-using the exact same download file name. I'll look into it.
ID: 1598059 · Report as offensive
Richard Haselgrove Project Donor
Volunteer tester

Send message
Joined: 4 Jul 99
Posts: 14650
Credit: 200,643,578
RAC: 874
United Kingdom
Message 1598108 - Posted: 7 Nov 2014, 16:00:11 UTC

I've replaced the Lunatics_Win64_v0.43a_setup.exe file at Lunatics with an updated copy. Copies on their way to Mike and Arkayn.
ID: 1598108 · Report as offensive
David S
Volunteer tester
Avatar

Send message
Joined: 4 Oct 99
Posts: 18352
Credit: 27,761,924
RAC: 12
United States
Message 1598127 - Posted: 7 Nov 2014, 17:32:45 UTC

Okay, so I downloaded the new new version and I'm reinstalling it yet again. On the first page where I have choices to make, it's defaulting to AVX for both AP and MB. Is that what I want?
David
Sitting on my butt while others boldly go,
Waiting for a message from a small furry creature from Alpha Centauri.

ID: 1598127 · Report as offensive
Richard Haselgrove Project Donor
Volunteer tester

Send message
Joined: 4 Jul 99
Posts: 14650
Credit: 200,643,578
RAC: 874
United Kingdom
Message 1598133 - Posted: 7 Nov 2014, 17:42:56 UTC - in response to Message 1598127.  

Okay, so I downloaded the new new version and I'm reinstalling it yet again. On the first page where I have choices to make, it's defaulting to AVX for both AP and MB. Is that what I want?

Yes, if those are offered, they are likely to be the fastest options. But on the following (GPU) pages you have to make your own choice, with the help of the posters here. The installer isn't clever enough to help you choose between versions (if any) in those categories. Sorry about that.
ID: 1598133 · Report as offensive
David S
Volunteer tester
Avatar

Send message
Joined: 4 Oct 99
Posts: 18352
Credit: 27,761,924
RAC: 12
United States
Message 1598138 - Posted: 7 Nov 2014, 17:58:13 UTC - in response to Message 1598133.  

Okay, so I downloaded the new new version and I'm reinstalling it yet again. On the first page where I have choices to make, it's defaulting to AVX for both AP and MB. Is that what I want?

Yes, if those are offered, they are likely to be the fastest options. But on the following (GPU) pages you have to make your own choice, with the help of the posters here. The installer isn't clever enough to help you choose between versions (if any) in those categories. Sorry about that.

Done. Now all it has to do is burn off some HP Einsteins and get fed some APs. I left the text file alone until I make sure it's running correctly with no switches applied. Then I'll try them again, without doing anything else to crash the video driver.
David
Sitting on my butt while others boldly go,
Waiting for a message from a small furry creature from Alpha Centauri.

ID: 1598138 · Report as offensive
Profile arkayn
Volunteer tester
Avatar

Send message
Joined: 14 May 99
Posts: 4438
Credit: 55,006,323
RAC: 0
United States
Message 1598149 - Posted: 7 Nov 2014, 18:30:46 UTC - in response to Message 1598138.  

Okay, so I downloaded the new new version and I'm reinstalling it yet again. On the first page where I have choices to make, it's defaulting to AVX for both AP and MB. Is that what I want?

Yes, if those are offered, they are likely to be the fastest options. But on the following (GPU) pages you have to make your own choice, with the help of the posters here. The installer isn't clever enough to help you choose between versions (if any) in those categories. Sorry about that.

Done. Now all it has to do is burn off some HP Einsteins and get fed some APs. I left the text file alone until I make sure it's running correctly with no switches applied. Then I'll try them again, without doing anything else to crash the video driver.


Instead of editing the app_info, make an app_config and apply the changes to that.

That way you won't have to update the app_info every time.

ID: 1598149 · Report as offensive
David S
Volunteer tester
Avatar

Send message
Joined: 4 Oct 99
Posts: 18352
Credit: 27,761,924
RAC: 12
United States
Message 1598165 - Posted: 7 Nov 2014, 19:25:42 UTC - in response to Message 1598149.  

Okay, so I downloaded the new new version and I'm reinstalling it yet again. On the first page where I have choices to make, it's defaulting to AVX for both AP and MB. Is that what I want?

Yes, if those are offered, they are likely to be the fastest options. But on the following (GPU) pages you have to make your own choice, with the help of the posters here. The installer isn't clever enough to help you choose between versions (if any) in those categories. Sorry about that.

Done. Now all it has to do is burn off some HP Einsteins and get fed some APs. I left the text file alone until I make sure it's running correctly with no switches applied. Then I'll try them again, without doing anything else to crash the video driver.


Instead of editing the app_info, make an app_config and apply the changes to that.

That way you won't have to update the app_info every time.

I looked at that, but the instructions weren't explicit enough for me. I'll look into it further when I'm not in a hurry.
David
Sitting on my butt while others boldly go,
Waiting for a message from a small furry creature from Alpha Centauri.

ID: 1598165 · Report as offensive
Profile HAL9000
Volunteer tester
Avatar

Send message
Joined: 11 Sep 99
Posts: 6534
Credit: 196,805,888
RAC: 57
United States
Message 1598169 - Posted: 7 Nov 2014, 19:33:22 UTC - in response to Message 1598165.  

Okay, so I downloaded the new new version and I'm reinstalling it yet again. On the first page where I have choices to make, it's defaulting to AVX for both AP and MB. Is that what I want?

Yes, if those are offered, they are likely to be the fastest options. But on the following (GPU) pages you have to make your own choice, with the help of the posters here. The installer isn't clever enough to help you choose between versions (if any) in those categories. Sorry about that.

Done. Now all it has to do is burn off some HP Einsteins and get fed some APs. I left the text file alone until I make sure it's running correctly with no switches applied. Then I'll try them again, without doing anything else to crash the video driver.


Instead of editing the app_info, make an app_config and apply the changes to that.

That way you won't have to update the app_info every time.

I looked at that, but the instructions weren't explicit enough for me. I'll look into it further when I'm not in a hurry.


Here is an example app_config.xml to run 2 of each application on a GPU. It would need to be tweaked for your exact preferred configuration.
<app_config>
	<app>
		<name>astropulse_v7</name>
		<gpu_versions>
			<gpu_usage>0.5</gpu_usage>
			<cpu_usage>0.5</cpu_usage>
		</gpu_versions>
	</app>
	<app>
		<name>setiathome_v7</name>
		<gpu_versions>
			<gpu_usage>0.5</gpu_usage>
			<cpu_usage>0.04</cpu_usage>
		</gpu_versions>
	</app>
</app_config>

SETI@home classic workunits: 93,865 CPU time: 863,447 hours
Join the [url=http://tinyurl.com/8y46zvu]BP6/VP6 User Group[
ID: 1598169 · Report as offensive
David S
Volunteer tester
Avatar

Send message
Joined: 4 Oct 99
Posts: 18352
Credit: 27,761,924
RAC: 12
United States
Message 1598189 - Posted: 7 Nov 2014, 20:33:12 UTC - in response to Message 1598169.  

Okay, so I downloaded the new new version and I'm reinstalling it yet again. On the first page where I have choices to make, it's defaulting to AVX for both AP and MB. Is that what I want?

Yes, if those are offered, they are likely to be the fastest options. But on the following (GPU) pages you have to make your own choice, with the help of the posters here. The installer isn't clever enough to help you choose between versions (if any) in those categories. Sorry about that.

Done. Now all it has to do is burn off some HP Einsteins and get fed some APs. I left the text file alone until I make sure it's running correctly with no switches applied. Then I'll try them again, without doing anything else to crash the video driver.


Instead of editing the app_info, make an app_config and apply the changes to that.

That way you won't have to update the app_info every time.

I looked at that, but the instructions weren't explicit enough for me. I'll look into it further when I'm not in a hurry.


Here is an example app_config.xml to run 2 of each application on a GPU. It would need to be tweaked for your exact preferred configuration.
<app_config>
	<app>
		<name>astropulse_v7</name>
		<gpu_versions>
			<gpu_usage>0.5</gpu_usage>
			<cpu_usage>0.5</cpu_usage>
		</gpu_versions>
	</app>
	<app>
		<name>setiathome_v7</name>
		<gpu_versions>
			<gpu_usage>0.5</gpu_usage>
			<cpu_usage>0.04</cpu_usage>
		</gpu_versions>
	</app>
</app_config>

Sounds like exactly what I want. Does app_config have any effect on the CPU apps?
David
Sitting on my butt while others boldly go,
Waiting for a message from a small furry creature from Alpha Centauri.

ID: 1598189 · Report as offensive
Profile HAL9000
Volunteer tester
Avatar

Send message
Joined: 11 Sep 99
Posts: 6534
Credit: 196,805,888
RAC: 57
United States
Message 1598210 - Posted: 7 Nov 2014, 21:09:37 UTC - in response to Message 1598189.  

Here is an example app_config.xml to run 2 of each application on a GPU. It would need to be tweaked for your exact preferred configuration.
<app_config>
	<app>
		<name>astropulse_v7</name>
		<gpu_versions>
			<gpu_usage>0.5</gpu_usage>
			<cpu_usage>0.5</cpu_usage>
		</gpu_versions>
	</app>
	<app>
		<name>setiathome_v7</name>
		<gpu_versions>
			<gpu_usage>0.5</gpu_usage>
			<cpu_usage>0.04</cpu_usage>
		</gpu_versions>
	</app>
</app_config>

Sounds like exactly what I want. Does app_config have any effect on the CPU apps?

I forgot to include the link to the full information for the app_config.xml.
It can effect the CPU apps by reserving CPU cores for the GPU apps. The above example would run 2 GPU AP tasks and reserve 1 CPU core total. So your host 5947619 would run 7 CPU & 2 GPU AP tasks at once, if there are no other restrictions set in BOINC.
SETI@home classic workunits: 93,865 CPU time: 863,447 hours
Join the [url=http://tinyurl.com/8y46zvu]BP6/VP6 User Group[
ID: 1598210 · Report as offensive
David S
Volunteer tester
Avatar

Send message
Joined: 4 Oct 99
Posts: 18352
Credit: 27,761,924
RAC: 12
United States
Message 1598222 - Posted: 7 Nov 2014, 21:28:38 UTC - in response to Message 1598210.  

Here is an example app_config.xml to run 2 of each application on a GPU. It would need to be tweaked for your exact preferred configuration.
<app_config>
	<app>
		<name>astropulse_v7</name>
		<gpu_versions>
			<gpu_usage>0.5</gpu_usage>
			<cpu_usage>0.5</cpu_usage>
		</gpu_versions>
	</app>
	<app>
		<name>setiathome_v7</name>
		<gpu_versions>
			<gpu_usage>0.5</gpu_usage>
			<cpu_usage>0.04</cpu_usage>
		</gpu_versions>
	</app>
</app_config>

Sounds like exactly what I want. Does app_config have any effect on the CPU apps?

I forgot to include the link to the full information for the app_config.xml.
It can effect the CPU apps by reserving CPU cores for the GPU apps. The above example would run 2 GPU AP tasks and reserve 1 CPU core total. So your host 5947619 would run 7 CPU & 2 GPU AP tasks at once, if there are no other restrictions set in BOINC.

I already have it set to only run 7 CPU tasks at a time anyway.
David
Sitting on my butt while others boldly go,
Waiting for a message from a small furry creature from Alpha Centauri.

ID: 1598222 · Report as offensive
David S
Volunteer tester
Avatar

Send message
Joined: 4 Oct 99
Posts: 18352
Credit: 27,761,924
RAC: 12
United States
Message 1600250 - Posted: 12 Nov 2014, 15:36:46 UTC

Well, this machine got a resend of an AP7 for GPU. I'll try to keep an eye on it to make sure it runs okay. If it does, I will try applying the switches again and watch for another one to come along.

Stay tuned... (or not)
David
Sitting on my butt while others boldly go,
Waiting for a message from a small furry creature from Alpha Centauri.

ID: 1600250 · Report as offensive
Profile Fawkesguy
Volunteer tester
Avatar

Send message
Joined: 8 Jan 01
Posts: 108
Credit: 188,578,766
RAC: 0
United States
Message 1600905 - Posted: 14 Nov 2014, 3:42:32 UTC

OK, quick question. In ap_cmdline I've got this for my 780's:

-use_sleep -unroll 18 -oclFFT_plan 256 16 256 -ffa_block 16384 -ffa_block_fetch 8192 -tune 1 64 8 1 -tune 2 64 8 1 -hp

I just added a GTX760 to one of my machines (as the only GPU). What should I change in that line to be optimal for a GTX760?
ID: 1600905 · Report as offensive
David S
Volunteer tester
Avatar

Send message
Joined: 4 Oct 99
Posts: 18352
Credit: 27,761,924
RAC: 12
United States
Message 1601889 - Posted: 18 Nov 2014, 0:57:39 UTC

My computer finally did the one GPU AP7 it managed to get last week. The outcome looks perfectly normal. (I'm the _3. The _0 had an error and the _2 aborted. Still waiting for the _1.)

Now I guess I'll put the switches back in the text file and wait for it to get another one.
David
Sitting on my butt while others boldly go,
Waiting for a message from a small furry creature from Alpha Centauri.

ID: 1601889 · Report as offensive
Profile arkayn
Volunteer tester
Avatar

Send message
Joined: 14 May 99
Posts: 4438
Credit: 55,006,323
RAC: 0
United States
Message 1602018 - Posted: 18 Nov 2014, 6:09:57 UTC - in response to Message 1600905.  

OK, quick question. In ap_cmdline I've got this for my 780's:

-use_sleep -unroll 18 -oclFFT_plan 256 16 256 -ffa_block 16384 -ffa_block_fetch 8192 -tune 1 64 8 1 -tune 2 64 8 1 -hp

I just added a GTX760 to one of my machines (as the only GPU). What should I change in that line to be optimal for a GTX760?


I am running this on my 760/670 machine.
-unroll 18 -oclFFT_plan 256 16 256 -tune 1 64 8 1 -tune 2 64 8 1

Runs fairly quickly for me.

I don't use the CPU for anything.

ID: 1602018 · Report as offensive
Profile Fawkesguy
Volunteer tester
Avatar

Send message
Joined: 8 Jan 01
Posts: 108
Credit: 188,578,766
RAC: 0
United States
Message 1602172 - Posted: 18 Nov 2014, 15:05:21 UTC

Thanks arkayn. :-)
ID: 1602172 · Report as offensive
Dena Wiltsie
Volunteer tester

Send message
Joined: 19 Apr 01
Posts: 1628
Credit: 24,230,968
RAC: 26
United States
Message 1602221 - Posted: 18 Nov 2014, 16:54:34 UTC

What I am posting about is 3 or 4 days old, but you had a problem and it might be caused by over clocking. I was wing person for 3 of your data units and the results were bad on all three units. I checked your results and you are having a large number of processing errors. My view is one should go for quality output instead of speed because turning out a defective work units just waste time on your system. I don't know enough about your system to tell you what to fix, but I suspect there is plenty of help available.
The defective work units have been reprocessed and I found agreement with other users.
All of your systems should be checked because more than one is throwing errors but you should look at this link.
ID: 1602221 · Report as offensive
David S
Volunteer tester
Avatar

Send message
Joined: 4 Oct 99
Posts: 18352
Credit: 27,761,924
RAC: 12
United States
Message 1602260 - Posted: 18 Nov 2014, 22:31:31 UTC - in response to Message 1601889.  

My computer finally did the one GPU AP7 it managed to get last week. The outcome looks perfectly normal. (I'm the _3. The _0 had an error and the _2 aborted. Still waiting for the _1.)

Now I guess I'll put the switches back in the text file and wait for it to get another one.

-use_sleep -unroll 6 -oclFFT_plan 256 16 256 -ffa_block 4096 -ffa_block_fetch 2048

has been inserted into my file again. Now I just have to wait for an AP7 to float my GPU's way and see what happens.
David
Sitting on my butt while others boldly go,
Waiting for a message from a small furry creature from Alpha Centauri.

ID: 1602260 · Report as offensive
Previous · 1 · 2 · 3 · 4 · 5 · Next

Message boards : Number crunching : Need some guidance and advice on optimizing my optimized app. :-)


 
©2024 University of California
 
SETI@home and Astropulse are funded by grants from the National Science Foundation, NASA, and donations from SETI@home volunteers. AstroPulse is funded in part by the NSF through grant AST-0307956.