Re: Linux vs WinXP performance & Threads

From: mitch (mitchu_at_houston.rr.com)
Date: 10/10/03


Date: Fri, 10 Oct 2003 15:11:46 GMT

That's excellent, !!
    thats why I wanted to recode some of the old stuff in MS "C". I just had guy feeling
there was better library support than when I wrotew this thing 5 years ago.

;^)

... M

Darren New wrote:
> My apologies if you get this twice. I thought I'd posted it, but I don't
> see it.
>
> mitch wrote:
>
>> In this binary it's ALOT of sequential file I/O.
>
>
> Windows has a special mode flag you can add to the open call to tell it
> you're going to be doing mostly sequential access on the files. I
> suspect if you set this flag when you open the file, you might see your
> performance increase, as Windows will start reading ahead in large
> chunks, rather than waiting for page faults to do the reads.
>
> You'd have to modify C code to get to this flag, however. Check MSDN for
> details.
>



Relevant Pages

  • Re: save as dialog and shered directory rights
    ... The SaveFileDialog calls the GetSaveFileName API ... the SaveFileDialog class does not set this flag ... directory, where I do have rights to create and modify files, ... then this standard windows dialog seem to create empty ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Reference implementation 4.2.4p6 receive() swapping bytes..?
    ... that if talking to one of my own servers I flag it as such, ... servers, I added code to ntp_crypto.c and ntp_protocol.c and have my ... own crypto type and shove my own stuff into extension fields. ... His assumptions about Windows tools are ...
    (comp.protocols.time.ntp)
  • Re: File compatibility issues with LAN drive
    ... Windows did not have a file "executable" flag, ... linux does. ... systems and NFTS file system permissions. ...
    (sci.electronics.design)
  • Re: Could Application.DoEvents(); messup code execution ??
    ... The flag would not exactly do the job, ... DB was executed only ones ..I would expect Commit to be executed twice too.. ... bool inProgress; ...
    (microsoft.public.dotnet.general)
  • Re: Form does not see mouse events!!!!
    ... If an application processes this message, it should return zero. ... use the messages to set and unset a flag: ... As a general point, though, to subclass you setup your own Windows ... which returns the result of calling the default Windows procedure. ...
    (microsoft.public.vb.general.discussion)

Loading