dedicating one core to a specific project of a multicore pc

Message boards : Questions and problems : dedicating one core to a specific project of a multicore pc
Message board moderation

To post messages, you must log in.

AuthorMessage
Profile kinhull
Avatar

Send message
Joined: 30 Aug 05
Posts: 101
United Kingdom
Message 21628 - Posted: 4 Dec 2008, 10:20:16 UTC
Last modified: 4 Dec 2008, 10:27:46 UTC

Hi, I have the following:

01/12/2008 18:55:08||Starting BOINC client version 6.4.1 for windows_intelx86
01/12/2008 18:55:08||log flags: task, file_xfer, sched_ops
01/12/2008 18:55:08||Libraries: libcurl/7.19.0 OpenSSL/0.9.8i zlib/1.2.3
01/12/2008 18:55:08||Running as a daemon

01/12/2008 18:55:11||Processor: 2 GenuineIntel Intel(R) Core(TM)2 Duo CPU T7500 @ 2.20GHz [x86 Family 6 Model 15 Stepping 11]
01/12/2008 18:55:11||Processor features: fpu tsc pae nx sse sse2 pni mmx
01/12/2008 18:55:11||OS: Microsoft Windows Vista: Home Premium x86 Editon, Service Pack 1, (06.00.6001.00)


I would like to dedicate one core to running CPDN (or any single project) only, and allow the other core to run various other projects.

Any ideas as to how I do this?

Any help will be much appreciated, thanks in advance.
JOIN Team ACC
ID: 21628 · Report as offensive
Richard Haselgrove
Volunteer tester
Help desk expert

Send message
Joined: 5 Oct 06
Posts: 5082
United Kingdom
Message 21630 - Posted: 4 Dec 2008, 10:35:59 UTC - in response to Message 21628.  

Set your CPDN resource share to just over 50% - say a numeric value of 501.

Allow CPDN to download one task only, then set No New Tasks.

Keep all you other projects below 50% - say a total numeric value of 500.

Then the CPDN short term debt will steadily, but slowly, increase: it will always be positive, and CPDN will always be the first task to run: with one task only on board, it will occupy one core. The other projects can (and will) fight it out amongst themselves for the remaining core.

You'll need to micro-manage a bit - allow CPDN to download one new task every few months - but that shouldn't be too hard ;-)
ID: 21630 · Report as offensive
Profile kinhull
Avatar

Send message
Joined: 30 Aug 05
Posts: 101
United Kingdom
Message 21631 - Posted: 4 Dec 2008, 10:56:39 UTC - in response to Message 21630.  

Thanks for the quick reply Richard, I'll give it a go. Any problems, I will report it here.
JOIN Team ACC
ID: 21631 · Report as offensive
Profile kinhull
Avatar

Send message
Joined: 30 Aug 05
Posts: 101
United Kingdom
Message 21640 - Posted: 5 Dec 2008, 10:53:09 UTC

I changed CPDN resource share to 101, and left all my other projects share at 100 (too many projects to bother changing them all); that worked only for a while, so I changed CPDN, only, to 1000, and it works perfectly now; thanks again Richard.

I presume it would be the same technique for PC's with 4 or higher numbers of cores?

JOIN Team ACC
ID: 21640 · Report as offensive

Message boards : Questions and problems : dedicating one core to a specific project of a multicore pc

Copyright © 2024 University of California.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.