Hi All,
I've built a bit of a monster excel application and really need to speed it up for some of our users who's desktops are both varied and in some cases a little on the low side in terms of CPU and RAM power.
I have used the code below to increase the priority of the application to HIGH which enables the users to get the data they require far far quicker and then hop out.
However this makes the system entirely unable for the few minutes the calculations take - is there a way to set to determine the number of cores the user has available and set the affinity to 1 less than max? we have a variety of dual, quad core and a couple of 8 core units so setting an arbitrary figure isn't an option.
(we're doing this manually to get a balance of both but it'd be nice to automate this step also)
Thank you.
CPU PRIORITY CODE:
![]()
Please Login or Register to view this content.
Bookmarks