Advanced search

Message boards : Number crunching : SWAN_SYNC Enable/Disable

Author Message
Matt
Avatar
Send message
Joined: 11 Jan 13
Posts: 216
Credit: 846,538,252
RAC: 0
Level
Glu
Scientific publications
watwatwatwatwatwatwatwatwatwatwatwatwatwatwat
Message 47419 - Posted: 13 Jun 2017 | 5:48:40 UTC

I've tried searching the forums for how to enable/disable swan sync. Please feel free to delete this thread, but I can't find instructions. I have one W7 host on which I'd like to disable SWAN. I know this is has been a common question over the years, but my attempt to search for it has yielded nothing. Maybe we can create a sticky?

Thank you.

Erich56
Send message
Joined: 1 Jan 15
Posts: 1132
Credit: 10,261,732,676
RAC: 29,173,575
Level
Trp
Scientific publications
watwatwatwatwatwatwatwatwat
Message 47421 - Posted: 13 Jun 2017 | 6:52:53 UTC

To switch Swan-Sync on:

In "System" - go to [Environmental Variables]
Look for the lower section called "System Variables", click on the [New] button below the list of System Variables.
Type swan_sync in the name field
Type 1 in the Value field
Click [OK] 3 times.
Exit BOINC manager with stopping all applications
Start BOINC manager.

For switching it off, change the value field from 1 to 0.

Betting Slip
Send message
Joined: 5 Jan 09
Posts: 670
Credit: 2,498,095,550
RAC: 0
Level
Phe
Scientific publications
watwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwat
Message 47424 - Posted: 13 Jun 2017 | 10:07:30 UTC - in response to Message 47421.
Last modified: 13 Jun 2017 | 10:08:07 UTC

To switch Swan-Sync on:

In "System" - go to [Environmental Variables]
Look for the lower section called "System Variables", click on the [New] button below the list of System Variables.
Type swan_sync in the name field
Type 1 in the Value field
Click [OK] 3 times.
Exit BOINC manager with stopping all applications
Start BOINC manager.

For switching it off, change the value field from 1 to 0.


Sorry Erich56 to switch off you must delete/remove the swan_sync variable altogether and reboot computer. Changing the value will have no effect.

Erich56
Send message
Joined: 1 Jan 15
Posts: 1132
Credit: 10,261,732,676
RAC: 29,173,575
Level
Trp
Scientific publications
watwatwatwatwatwatwatwatwat
Message 47428 - Posted: 13 Jun 2017 | 14:38:38 UTC - in response to Message 47424.

Sorry Erich56 to switch off you must delete/remove the swan_sync variable altogether and reboot computer. Changing the value will have no effect.

hm, I was almost sure that, long time ago, I did is this way - just to try out and to see the difference.
Maybe I remember wrongly and am mistaken now.
Of course, to delete the entry would be the safest way :-)

PappaLitto
Send message
Joined: 21 Mar 16
Posts: 511
Credit: 4,672,242,755
RAC: 0
Level
Arg
Scientific publications
watwatwatwatwatwatwatwat
Message 47430 - Posted: 13 Jun 2017 | 19:39:19 UTC

This should be pinned, I've been trying to figure this out for years

Matt
Avatar
Send message
Joined: 11 Jan 13
Posts: 216
Credit: 846,538,252
RAC: 0
Level
Glu
Scientific publications
watwatwatwatwatwatwatwatwatwatwatwatwatwatwat
Message 47432 - Posted: 14 Jun 2017 | 13:02:58 UTC

Thanks!

Profile skgiven
Volunteer moderator
Volunteer tester
Avatar
Send message
Joined: 23 Apr 09
Posts: 3968
Credit: 1,995,359,260
RAC: 0
Level
His
Scientific publications
watwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwat
Message 47728 - Posted: 2 Aug 2017 | 6:35:10 UTC - in response to Message 47432.
Last modified: 2 Aug 2017 | 6:35:45 UTC

Advanced search SWAN_SYNC

FAQ - Best configurations for GPUGRID


Keyboard skills tip for the day:

    Ctrl + f


Enter text, "SWAN_SYNC" and find the posts you are looking for in the thread
____________
FAQ's

HOW TO:
- Opt out of Beta Tests
- Ask for Help

Profile Chilean
Avatar
Send message
Joined: 8 Oct 12
Posts: 98
Credit: 385,652,461
RAC: 0
Level
Asp
Scientific publications
watwatwatwatwatwatwatwatwatwatwatwatwatwat
Message 48594 - Posted: 4 Jan 2018 | 3:15:10 UTC

To enable swan_sync, should I use 1 or 0?

I keep seeing different suggestions on these boards...
____________

Erich56
Send message
Joined: 1 Jan 15
Posts: 1132
Credit: 10,261,732,676
RAC: 29,173,575
Level
Trp
Scientific publications
watwatwatwatwatwatwatwatwat
Message 48596 - Posted: 4 Jan 2018 | 10:19:16 UTC - in response to Message 48594.

To enable swan_sync, should I use 1 or 0?
1

Betting Slip
Send message
Joined: 5 Jan 09
Posts: 670
Credit: 2,498,095,550
RAC: 0
Level
Phe
Scientific publications
watwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwat
Message 48599 - Posted: 4 Jan 2018 | 12:11:15 UTC - in response to Message 48594.

To enable swan_sync, should I use 1 or 0?

I keep seeing different suggestions on these boards...


Try both and you'll find it makes no difference.

Profile Chilean
Avatar
Send message
Joined: 8 Oct 12
Posts: 98
Credit: 385,652,461
RAC: 0
Level
Asp
Scientific publications
watwatwatwatwatwatwatwatwatwatwatwatwatwat
Message 48601 - Posted: 4 Jan 2018 | 12:17:55 UTC

They don't seem to make a difference. Maybe my GPU isn't that quick (OC'ed 1050 Ti).
____________

Erich56
Send message
Joined: 1 Jan 15
Posts: 1132
Credit: 10,261,732,676
RAC: 29,173,575
Level
Trp
Scientific publications
watwatwatwatwatwatwatwatwat
Message 48615 - Posted: 4 Jan 2018 | 16:38:40 UTC

hm, that's strange.
I don't think is has to do with the type of GPU.
For example, two of my GPUs I use for GPUGRID are "old" GTX750Ti - and even there I could notice the big difference .
With Swansync off, CPU usage was very low, with Swansync on, a CPU core is being used close to it's full capacity.

Richard Haselgrove
Send message
Joined: 11 Jul 09
Posts: 1620
Credit: 8,869,946,723
RAC: 20,186,244
Level
Tyr
Scientific publications
watwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwatwat
Message 48623 - Posted: 4 Jan 2018 | 23:39:55 UTC - in response to Message 48615.

hm, that's strange.
I don't think is has to do with the type of GPU.
For example, two of my GPUs I use for GPUGRID are "old" GTX750Ti - and even there I could notice the big difference .
With Swansync off, CPU usage was very low, with Swansync on, a CPU core is being used close to it's full capacity.

But does it do any more work - complete the tasks more quickly?

Otherwise, you're just wasting a core that could be doing something else.

kksplace
Send message
Joined: 4 Mar 18
Posts: 53
Credit: 2,604,531,073
RAC: 6,522,082
Level
Phe
Scientific publications
wat
Message 49767 - Posted: 2 Jul 2018 | 21:37:12 UTC
Last modified: 2 Jul 2018 | 21:39:13 UTC

Changing swan_sync to 1 has definitely made a change for me on GPUGRID. Not a lot of data points, but so far seeing 2 to 5% improvement in completion times.

Since I am in grcpool-2, here is a link to my tasks:

http://www.gpugrid.net//results.php?hostid=473538

However, it also had an unintended consequence in my backup project, Milkyway@home. I had that set up to run two GPU tasks at once using the app_config file. However, the swan_sync setting seemed to have dedicated one core for each task, not just one total for my one 1070 GPU. So, overall, when Milkyway is running, I lose one core previously being used on my CPU projects.

Can anyone confirm this is indeed what should/does happen? If so, is there any work-around? (I haven't convinced myself to try to run two GPUGRID tasks at once yet due to cooling problems on my bought Dell 8930 -- don't gag; I am saving up for my first build!)

i5-8400 6 core using Intel Turbo Boost to 3.8GHz
GTX 1070 from Dell (sort of a Founder's Edition?), OC only 15MHz on both GPU and Memory clocks using Afterburner
Windows 10

Profile tito
Send message
Joined: 21 May 09
Posts: 22
Credit: 1,743,563,678
RAC: 6,729,444
Level
His
Scientific publications
watwatwatwatwatwatwatwatwatwatwatwatwat
Message 49816 - Posted: 7 Jul 2018 | 19:44:58 UTC

Obviously more powerful CPU and weaker GPU: SWAN_SYNC gives less.
But in my case...
Few days ago I tried trick and my run times decresed from ~ 20k to ~17,5k seconds (yes I'm aware of different WUs - that's average).
GPU is OC 1080Ti, but CPU is old XEON 1230V2 - 2 WU at once.
https://www.gpugrid.net/results.php?hostid=197892

Post to thread

Message boards : Number crunching : SWAN_SYNC Enable/Disable

//