Updraft
Mechanical
- Jan 29, 2007
- 686
One of my guys wrote a very nice set of macros, but they take about 7 minutes to run depending on the size of the file they are processing. (For our online catalog downloads we have simplified reps of our products in a single file with multiple configs, one file per model family, typically 5-25 configs. The macros generate the downloadable files as such: 1. Names and saves individual IGS, SAT, X_T, and eDrwg 3D files of each config, 2. Names and saves SLDDRW (not downloadable), DWG, and PDF files of 2D drawings with 4 views (no dims). This automatic process cleverly iterates the scale to get the views to fit.)
My question is this: Can I have multiple sessions of SWX open on my multi-core machine, set the affinity for each to dedicated processors, i.e., session one set to CPU 0 and session two set to CPU 1, and truly achieve concurrent operation of the two sessions? For a macro that runs for seven minutes in a single session this would lead me to believe I can actually get two of them run at the same time. Since SWX is not multi-threaded I am hoping that running multi-sessions on separate CPUs gives me faster results.
I plan to try this myself, but this is new territory for me and I was hoping some of you can share your experience with this approach. I look forward to the discussion on this.
Thanks in advance,
- - -Updraft
My question is this: Can I have multiple sessions of SWX open on my multi-core machine, set the affinity for each to dedicated processors, i.e., session one set to CPU 0 and session two set to CPU 1, and truly achieve concurrent operation of the two sessions? For a macro that runs for seven minutes in a single session this would lead me to believe I can actually get two of them run at the same time. Since SWX is not multi-threaded I am hoping that running multi-sessions on separate CPUs gives me faster results.
I plan to try this myself, but this is new territory for me and I was hoping some of you can share your experience with this approach. I look forward to the discussion on this.
Thanks in advance,
- - -Updraft