Win32::Daemon - multiple processor problem

From: Roy Girdwood (roy.girdwood_at_alphyra.co.uk)
Date: 08/10/04

  • Next message: arnaud gaudinat: "DB_File default version"
    Date: 10 Aug 2004 05:03:40 -0700
    
    

    All,

    I have recently developed a Win32 service (using Win32::Daemon) on my
    single processor box, then deployed it onto a multi-processor box (P4
    with Hyperthreading On).

    Whilst it works fine on my PC, it seems to run on both processors
    simulaeneously, causing problems whereby the same data is processed
    twice and at the same time.

    Is there some way I can force perl (or Win32::Daemon) to run as if it
    were a single processor box, and not attempt to maximise the
    throughput across all
    processors?

    Thanks in advance

    Roy


  • Next message: arnaud gaudinat: "DB_File default version"

    Relevant Pages

    • [SLE] Hyperthreading question
      ... a single processor that pretends to be two is still a single ... the P4 systems with hyperthreading that have crossed my path, ... built on faster motherboards/ with faster RAM, ...
      (SuSE)
    • Re: LOR: so_snd @ /usr/src/sys/kern/uipc_coket.c:780
      ... On Tue, 29 Nov 2005, Mark Atkinson wrote: ... Single processor, no hyperthreading. ... To unsubscribe, ...
      (freebsd-current)
    • Re: is there a "process affinity" switch
      ... > they are seperate processors while XP and later are HT aware and somtimes ... If hyperthreading is not enabled in the BIOS then Windows will see a single processor (and treat it as a single ...
      (microsoft.public.vb.general.discussion)
    • LOR: so_snd @ /usr/src/sys/kern/uipc_coket.c:780
      ... Single processor, no hyperthreading. ... KDB: stack backstrace: ... namei() at namei+0x468 ...
      (freebsd-current)
    • Re: Windows XP Home and hyperthreading
      ... Hyperthreading is enabled in BIOS ... is only seeing a single processor. ... Changing HAL's is usually done with a Repair Install. ... >> cpu. ...
      (microsoft.public.windowsxp.general)