Re: Delphi to take advantage of multiple threads within the compiler>



marc hoffman schreef:

well. not if the image needs to be remapped, since you can only write one address into any given function pointer - ergo if different processes need to map the dll to different addresses, they by definition cannot share the same physical memory image.

OK, I brainstormed with some colleagues and can now testify that our applications
are indeed affected by this.


We have all modified our $imagebase addresses by experimentally determining
the amount of memory needed (using Dependency Walker) and rounding upwards
to the nearest  64 K.

The positive results: Our applications now load noticeably faster, and multiple
applications run concurrently with much less physical memory use !!!



This thread has been *very* useful to me indeed! Thank you all for your input.







-- Arthur Hoornweg

(In order to reply per e-mail, please just remove the ".net"
 from my e-mail address. Leave the rest of the address intact
 including the "antispam" part. I had to take this measure to
 counteract unsollicited mail.)
.



Relevant Pages

  • Re: [RFC][0/3] Virtual address space control for cgroups (v2)
    ... I thought I addressed some of those by adding a separate config option. ... > Trying to account/control physical memory or swap usage via virtual ... > swap space usage without breaking a large class of apps, ... As far as applications failing gracefully is concerned, ...
    (Linux-Kernel)
  • Re: [RFC][0/3] Virtual address space control for cgroups (v2)
    ... > Trying to account/control physical memory or swap usage via virtual ... > swap space usage without breaking a large class of apps, ... I find it hard to understand why applications would use sparse ...
    (Linux-Kernel)
  • Re: Excessive Paging
    ... It's simply an imbalance of running applications vs. resources available to run them. ... commit charge isn't even half of the physical memory. ...
    (microsoft.public.windowsxp.perform_maintain)
  • Re: Partition size recommendations?
    ... Unless you have some extremely large applications, ... >didn't know that these constitute security holes, or what I might do to ... >> be reduced if you have lots of physical memory. ... HTH = Hope That Helps! ...
    (microsoft.public.win2000.setup)
  • Re: "ideal" paging file size
    ... > Thank you very much for the kind inputs, and I have learned so many ... > The initial reason to upgrade the physical memory from 512MB to 1GB ... > applications, such as office, FP 2003, Outlook, and so on, and the ... Dragunov ...
    (microsoft.public.windowsxp.general)

Loading