Weblog Archive

Dual CPU woes

Mon, 26 Feb 2007 at 19:49 • Chyetanya Kunte • Filed under Noteworthy, Software

I have a hyperthreaded, dual processor Intel Xeon workstation, under my desk at work, that runs Windows 2000 Professional (don’t ask; company prescription). I need the beast to perform some specific tasks. I have been trying hard to stretch its guts to its threshold limits — use all its raw power, without luck.

The OS refuses to show dual processors in the hardware profile and in My computer. I am confused. Either the machine is actually being stretched to its limits and still can’t handle the stuff I am throwing at it, or it is being under-utilized (Is it the OS version?). Either way, I am seeing core dumps of my monstrous 200,000 element strong finite model.

Does anyone know how I can make sure that I am getting the best out of it?

Update: Oh my goodness, DEP (a default setting in any well patched Windows system) was the reason why Abaqus was core-dumping my model’s stiffness matrix mid way, and puking out python error codes. Following error gave me a clue about what was happening:

"***ERROR: Issue cannot be deleted Not all data Released"

Although, a search on the topic (on Abaqus support site) only showed that this setting was synonymous with XP and 2003, I realized that it could also be applicable to 2000. This was one of the lesser known (and generally considered good) features that was brought forward from 2000 into XP and newer versions.

Solution to the problem was simple enough, according to this KB article and I changed the boot.ini file (in root) to append the first line under [operating systems] with this:

/noexecute=AlwaysOff

But as this KB says:

This setting does not provide any DEP coverage for any part of the system, regardless of hardware DEP support. The processor does not run in PAE mode unless the /PAE option is present in the Boot.ini file.

Ideally I would prefer it to be:

/noexecute=OptOut

DEP is enabled by default for all processes. You can manually create a list of specific programs that do not have DEP applied by using the System dialog box in Control Panel. Information technology (IT) professionals can use the Application Compatibility Toolkit to “opt-out” one or more programs from DEP protection. System compatibility fixes, or shims, for DEP do take effect.

But there’s no example of how I could create an opt-out for a specific program like Abaqus. That would be helpful, especially in Windows 2000 (as its System Properties menu differs from newer Windows versions and there’s no easy way to do this).

[ Ads ]

Related posts

Following list is auto-generated, based on this post's context as possibly related. You may, however, occasionally find some in this list unrelated, but nevertheless, we sincerely hope that you'll enjoy them too.

12 responses to “Dual CPU woes”

  1. David Collantes said:

    My first thought was to recommend you talking to your company’s IT people. And still is my first recommendation.

    Is the application you are running multiple processors aware? Is the BIOS “seeing” the two processors? How much RAM do you have? How much VRAM?

    Either way, ask your IT folks. THey should have the answer –and fix, if any– that you look.

  2. Govind said:

    There are multiple things -
    1.

    Ability of process to see more RAM, there’s way to enable it, as in your case you really need both memory for the dataset and cpu for crunching

    2.

    Ability of the dual core - Os upgrade to Win2k3 will be better. But to really take advantage of the multiple core/more cache/more memory, app as well as OS needs to have this functionality. I doubt this is available for win2k(as David said, your internal IT folks might have some access to kb article if such patch is released). Let me also try to see. Which software are you running specifically?

  3. Govind said:

    Also look up @ http://en.wikipedia.org/wiki/Dual_core in software impact section to understand why software itself needs to be re-written to take advantage of the multiple cores. It is an active research area in more # of cores/interaction of caches/memory levels and change in programming itself.

    1. Will multicore pay off
    2. Debugging Multicore systems
    3. Impact of Multicore on device driver dev
    4. Basics thinking and why
    5. Another view

    Following are few easy to grok language attempts

    1. NesC - a concurrency aware language
    2. One of the many pieces of puzzle - Memory - STM
    3. Seminal Paper on concurrency impact
    4. Understanding the impact of multicore on gamedev - applies to other software too. Check out links from his article

  4. Chetan said:

    David, Govind, thanks for the tips. I will have to go through the IT folks once more. But here’s what I see.

    The application supports it; and I have CDs for all flavors. I have the x32 version installed, just to be on the safer side.

    The workstation is HP xw8200 (pdf link). The BIOS shows two CPUs but is assigned to the same CPU ID. 4GB RAM in BIOS, but the OS shows only 3GB. 2 x 256MB VRAM — two graphic cards.

    I could, as you suggested, run once more to the IT folks, but I am not expecting anything more than what I already have. A classic case of WYSIWYG, and the change/upgrade of OS is not negotiable. So part policy, part hardware problems, if you like.

    Tomorrow, I am running with some folks who use this on a daily basis to get some insights on how they use it. If I have enough reasons, I might ask out IT to reconsider the OS.

    Govind, I will be digging those links in the meanwhile, thanks a ton!

  5. David Collantes said:

    Ok, to make the OS to see all the memory, follow the instructions at this wiki page, since I am afraid your OS is not “seeing” all available memory.

    Some applications designed for 2 processors will work badly if you have only one *with* hypertreading. Try disabling hypertreading and see how it goes.

  6. Govind said:

    PAE - ability to see large memory was added to os when intel chips supported it. It is available by default in Win2k3 kb article It was challenge with 32 bit machines and OS combined with chip’s ability. My suggestion in this case is also to take help of the vendor for this. Technically for your kind of workload you should use the 64 bit machine - becuase most of these apps require access to that kind of memory by default and data sets are massive as in your case.
    In your case this more of hyperthreading(HT), try disabling that.
    Just one clarification - when you say you say only 3 gb for os? what do you mean? where do you see this?

  7. Chetan said:

    Both are identical processors. I tried with AIDA32 (a decent tool to check what’s under the hood). No luck. Here’s how the menu in ABAQUS looks like:

  8. Srikanth Eswaran said:

    hello chethan

    good to see your website. you write well. i tried to respond to your malaysia post, but unfortunately it was closed for sometime now.

    i stayed in KL for a year b/w 2002-3 in Damansara, PJ.
    do put a mail across to me and I ll write more. nice knowing you.

    Blogging is an art, and you are good at it. Was particularly reading about your bangalore airport entries.

    Srikanth.

  9. Chetan said:

    Just one clarification - when you say you say only 3 gb for os? what do you mean? where do you see this?

    I think I might have been unclear in my post about this: I see 3GB RAM as Windows reads it: My Computer > System Properties > General (tab)

    Whereas, the BIOS reads 4GB.

  10. Linkback: ckunte.com | DEP
  11. Govind said:

    good to know.

  12. Linkback: ckunte.com | It’s an x86 hardware problem