### Affinity and Priority

Does anyone know how - or know an app I can buy - that will do the
following:

I have several programs that I use for FPGA design at FLE. These
programs are quite memory/processor intensive.

I would like to automatically link the task name of the program (such as
par.exe) with a specific processor affinity and priority. That way, when
I launch the program - windows will automatically map it to the right
processor and at the right priority.

Changing these settings can literally shave 20-30 minutes of compilation
time for some of our designs.

Thanks

Steve Spano
President, Finger Lakes Engineering
(V) 607-277-1614 x223
(F) 800-835-7164
(C) 607-342-1150
xxxxx@flconsult.com
www.fl-eng.com

You can use the start command in cmd.exe to assign priority. You should
be able to create an app which will assign affinity at run time(task
manager can do it).

d

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Steve Spano
Sent: Sunday, March 12, 2006 1:56 PM
To: Windows System Software Devs Interest List
Subject: [ntdev] ### Affinity and Priority

Does anyone know how - or know an app I can buy - that will do the
following:

I have several programs that I use for FPGA design at FLE. These
programs are quite memory/processor intensive.

I would like to automatically link the task name of the program (such as
par.exe) with a specific processor affinity and priority. That way, when
I launch the program - windows will automatically map it to the right
processor and at the right priority.

Changing these settings can literally shave 20-30 minutes of compilation
time for some of our designs.

Thanks

Steve Spano
President, Finger Lakes Engineering
(V) 607-277-1614 x223
(F) 800-835-7164
(C) 607-342-1150
xxxxx@flconsult.com
www.fl-eng.com


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer

Thanks! Here I am thinking drivers and fancy code…just a batch file
will do for me.

Steve Spano
President, Finger Lakes Engineering
(V) 607-277-1614 x223
(F) 800-835-7164
(C) 607-342-1150
xxxxx@flconsult.com
www.fl-eng.com

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Doron Holan
Sent: Sunday, March 12, 2006 5:05 PM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] ### Affinity and Priority

You can use the start command in cmd.exe to assign priority. You should
be able to create an app which will assign affinity at run time(task
manager can do it).

d

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Steve Spano
Sent: Sunday, March 12, 2006 1:56 PM
To: Windows System Software Devs Interest List
Subject: [ntdev] ### Affinity and Priority

Does anyone know how - or know an app I can buy - that will do the
following:

I have several programs that I use for FPGA design at FLE. These
programs are quite memory/processor intensive.

I would like to automatically link the task name of the program (such as
par.exe) with a specific processor affinity and priority. That way, when
I launch the program - windows will automatically map it to the right
processor and at the right priority.

Changing these settings can literally shave 20-30 minutes of compilation
time for some of our designs.

Thanks

Steve Spano
President, Finger Lakes Engineering
(V) 607-277-1614 x223
(F) 800-835-7164
(C) 607-342-1150
xxxxx@flconsult.com
www.fl-eng.com


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer

You do not need to set affinity, Windows will do this itself. You can set
the priority using Task Manager.

Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com

----- Original Message -----
From: “Steve Spano”
To: “Windows System Software Devs Interest List”
Sent: Monday, March 13, 2006 12:55 AM
Subject: [ntdev] ### Affinity and Priority

> Does anyone know how - or know an app I can buy - that will do the
> following:
>
> I have several programs that I use for FPGA design at FLE. These
> programs are quite memory/processor intensive.
>
> I would like to automatically link the task name of the program (such as
> par.exe) with a specific processor affinity and priority. That way, when
> I launch the program - windows will automatically map it to the right
> processor and at the right priority.
>
> Changing these settings can literally shave 20-30 minutes of compilation
> time for some of our designs.
>
> Thanks
>
> Steve Spano
> President, Finger Lakes Engineering
> (V) 607-277-1614 x223
> (F) 800-835-7164
> (C) 607-342-1150
> xxxxx@flconsult.com
> www.fl-eng.com
>
>
>
>
>
> —
> Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
>
> To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer

Is affinity inherited?

Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com

----- Original Message -----
From: “Doron Holan”
To: “Windows System Software Devs Interest List”
Sent: Monday, March 13, 2006 1:04 AM
Subject: RE: [ntdev] ### Affinity and Priority

You can use the start command in cmd.exe to assign priority. You should
be able to create an app which will assign affinity at run time(task
manager can do it).

d

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Steve Spano
Sent: Sunday, March 12, 2006 1:56 PM
To: Windows System Software Devs Interest List
Subject: [ntdev] ### Affinity and Priority

Does anyone know how - or know an app I can buy - that will do the
following:

I have several programs that I use for FPGA design at FLE. These
programs are quite memory/processor intensive.

I would like to automatically link the task name of the program (such as
par.exe) with a specific processor affinity and priority. That way, when
I launch the program - windows will automatically map it to the right
processor and at the right priority.

Changing these settings can literally shave 20-30 minutes of compilation
time for some of our designs.

Thanks

Steve Spano
President, Finger Lakes Engineering
(V) 607-277-1614 x223
(F) 800-835-7164
(C) 607-342-1150
xxxxx@flconsult.com
www.fl-eng.com


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer

I don’t know that offhand.

d

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Maxim S.
Shatskih
Sent: Sunday, March 12, 2006 4:54 PM
To: Windows System Software Devs Interest List
Subject: Re: [ntdev] ### Affinity and Priority

Is affinity inherited?

Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com

----- Original Message -----
From: “Doron Holan”
To: “Windows System Software Devs Interest List”
Sent: Monday, March 13, 2006 1:04 AM
Subject: RE: [ntdev] ### Affinity and Priority

You can use the start command in cmd.exe to assign priority. You should
be able to create an app which will assign affinity at run time(task
manager can do it).

d

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Steve Spano
Sent: Sunday, March 12, 2006 1:56 PM
To: Windows System Software Devs Interest List
Subject: [ntdev] ### Affinity and Priority

Does anyone know how - or know an app I can buy - that will do the
following:

I have several programs that I use for FPGA design at FLE. These
programs are quite memory/processor intensive.

I would like to automatically link the task name of the program (such as
par.exe) with a specific processor affinity and priority. That way, when
I launch the program - windows will automatically map it to the right
processor and at the right priority.

Changing these settings can literally shave 20-30 minutes of compilation
time for some of our designs.

Thanks

Steve Spano
President, Finger Lakes Engineering
(V) 607-277-1614 x223
(F) 800-835-7164
(C) 607-342-1150
xxxxx@flconsult.com
www.fl-eng.com


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer

Affinity is inherited by the thread from the process when a new thread
is created. It is inherited by a child process from the parent process
when a new process is created. If there is no parent process, then the
affinity is set to be “all processors”.

Regards,

Tony

Tony Mason
Consulting Partner
OSR Open Systems Resources, Inc.
http://www.osr.com

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Doron Holan
Sent: Sunday, March 12, 2006 8:18 PM
To: ntdev redirect
Subject: RE: [ntdev] ### Affinity and Priority

I don’t know that offhand.

d

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Maxim S.
Shatskih
Sent: Sunday, March 12, 2006 4:54 PM
To: Windows System Software Devs Interest List
Subject: Re: [ntdev] ### Affinity and Priority

Is affinity inherited?

Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com

----- Original Message -----
From: “Doron Holan”
To: “Windows System Software Devs Interest List”
Sent: Monday, March 13, 2006 1:04 AM
Subject: RE: [ntdev] ### Affinity and Priority

You can use the start command in cmd.exe to assign priority. You should
be able to create an app which will assign affinity at run time(task
manager can do it).

d

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Steve Spano
Sent: Sunday, March 12, 2006 1:56 PM
To: Windows System Software Devs Interest List
Subject: [ntdev] ### Affinity and Priority

Does anyone know how - or know an app I can buy - that will do the
following:

I have several programs that I use for FPGA design at FLE. These
programs are quite memory/processor intensive.

I would like to automatically link the task name of the program (such as
par.exe) with a specific processor affinity and priority. That way, when
I launch the program - windows will automatically map it to the right
processor and at the right priority.

Changing these settings can literally shave 20-30 minutes of compilation
time for some of our designs.

Thanks

Steve Spano
President, Finger Lakes Engineering
(V) 607-277-1614 x223
(F) 800-835-7164
(C) 607-342-1150
xxxxx@flconsult.com
www.fl-eng.com


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer

Steve

I've just come across a utility from Intel which may help. WinTestCPUID.exe
allows you to select a processor and spawn an exe, and it comes with full
source code.

http://www.intel.com/cd/ids/developer/asmo-na/eng/dc/code/257129.htm

cheers,

--
Marco [www.neovalens.com]

"Steve Spano" wrote in message news:xxxxx@ntdev...
> Does anyone know how - or know an app I can buy - that will do the
> following:
>
> I have several programs that I use for FPGA design at FLE. These
> programs are quite memory/processor intensive.
>
> I would like to automatically link the task name of the program (such as
> par.exe) with a specific processor affinity and priority. That way, when
> I launch the program - windows will automatically map it to the right
> processor and at the right priority.
>
> Changing these settings can literally shave 20-30 minutes of compilation
> time for some of our designs.
>
> Thanks
>
> Steve Spano
> President, Finger Lakes Engineering
> (V) 607-277-1614 x223
> (F) 800-835-7164
> (C) 607-342-1150
> xxxxx@flconsult.com
> www.fl-eng.com
>
>
>
>
>

Thanks a lot Marco!

Steve Spano
President, Finger Lakes Engineering
(V) 607-277-1614 x223
(F) 800-835-7164
(C) 607-342-1150
xxxxx@flconsult.com
www.fl-eng.com

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Marco Peretti
Sent: Thursday, March 16, 2006 4:37 AM
To: Windows System Software Devs Interest List
Subject: Re:[ntdev] ### Affinity and Priority

Steve

I've just come across a utility from Intel which may help.
WinTestCPUID.exe
allows you to select a processor and spawn an exe, and it comes with
full
source code.

http://www.intel.com/cd/ids/developer/asmo-na/eng/dc/code/257129.htm

cheers,

--
Marco [www.neovalens.com]

"Steve Spano" wrote in message news:xxxxx@ntdev...
> Does anyone know how - or know an app I can buy - that will do the
> following:
>
> I have several programs that I use for FPGA design at FLE. These
> programs are quite memory/processor intensive.
>
> I would like to automatically link the task name of the program (such
as
> par.exe) with a specific processor affinity and priority. That way,
when
> I launch the program - windows will automatically map it to the right
> processor and at the right priority.
>
> Changing these settings can literally shave 20-30 minutes of
compilation
> time for some of our designs.
>
> Thanks
>
> Steve Spano
> President, Finger Lakes Engineering
> (V) 607-277-1614 x223
> (F) 800-835-7164
> (C) 607-342-1150
> xxxxx@flconsult.com
> www.fl-eng.com
>
>
>
>
>

---
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

To unsubscribe, visit the List Server section of OSR Online at
ListServer/Forum