Forum > GPU crunching

Determine what exe is feeding a particular GPU

(1/2) > >>

efmer (fred):
I want to know if the running feeder exe is storing its pid or other info on who he is, somewhere in a file?

Need to determine who (exe) is feeding a particular GPU (device).

Raistmer:

--- Quote from: Fred M on 20 Dec 2009, 08:26:04 am ---I want to know if the running feeder exe is storing its pid or other info on who he is, somewhere in a file?

Need to determine who (exe) is feeding a particular GPU (device).

--- End quote ---

Hm... if you can link process PID with app slot in BOINC already, then you could parse stderr.txt in particular slot to determine what device was assigned to this particular slot -> process.
But how to link process PID and slot number... no idea.

efmer (fred):

--- Quote from: Raistmer on 20 Dec 2009, 08:34:37 am ---
--- Quote from: Fred M on 20 Dec 2009, 08:26:04 am ---I want to know if the running feeder exe is storing its pid or other info on who he is, somewhere in a file?

Need to determine who (exe) is feeding a particular GPU (device).

--- End quote ---

Hm... if you can link process PID with app slot in BOINC already, then you could parse stderr.txt in particular slot to determine what device was assigned to this particular slot -> process.
But how to link process PID and slot number... no idea.


--- End quote ---
Yes the link device <-> pid. The exe could include it in the stderr.txt, but that would only work for special builds.
I want to see if I can throttle a specific gpu or cpu (a lot harder)

A problem is that the slot in some projects (Seti), only holds a shortcut to the exe and not the actual exe.

Raistmer:
Well, is it possible to extract working directory info from running project?
If yes, then you can
1) list all SETI processes running with their PIDs.
2) determine their working directories - these will be slots numbers
3) look into stderr.txt for particular PID->slot to determine its GPU devide ID.
then you will get whole chain PID->slot number->GPU device ID.

efmer (fred):

--- Quote from: Raistmer on 20 Dec 2009, 09:33:11 am ---Well, is it possible to extract working directory info from running project?
If yes, then you can
1) list all SETI processes running with their PIDs.
2) determine their working directories - these will be slots numbers
3) look into stderr.txt for particular PID->slot to determine its GPU devide ID.
then you will get whole chain PID->slot number->GPU device ID.


--- End quote ---
2) tried that one but it's a link not the actual program so.. everyone is pointing to the same file. The directory is the project directory not the slot.

Navigation

[0] Message Index

[#] Next page

Go to full version