Re: IPC?



Hello, Steve!
You wrote on Fri, 17 Jun 2005 16:24:19 -0400:

SMe> So, how does IPC have anything to do with 14M being available for
SMe> applications? E.g how is IPC a solution to a lack of memory?

We have an application which, after initialization takes 15 MB of virtual
memory. And it certainly needs some heap memory to do its work.

We don't bother too much about such devices as PocketPC but we have only 10
MB free virtual memory on our proprietary WinCE devices, and we still have a
lot of new features in the URD.

As a first step, as our application consists of rather independent modules,
seldom used simultaneously, we are going to explicitly load those DLLs with
LoadLibrary. But this could lead to virtual memory fragmentation if some
dlls are loaded into gaps left after unloading bigger DLLs, so care is
needed here :)

Anyway, all other DLLs will be converted into statically linked LIBs, so we
eliminate 64K alignment problem and probably we'll get some gain from linker
optimization and reducing import/export tables size.


But what we want to do is to place several really independent and large
blocks (with commercial libraries statically linked) into separate EXE files
and run them as separate processes, not load them into our own process.
That's what we need data IPC for.


Best regards, Vyacheslav Lanovets


.



Relevant Pages

  • Re: Shared Memory for Application/Communication decoupling
    ... different IPC methods within a single task will introduce a lot of ... memory techniques are just a nice way of saying 'global data'. ... A messaging based interface is generally more elegant and arguably more ...
    (comp.arch.embedded)
  • Re: WriteProcessMemory
    ... WriteProcessMemory was designed to be used for debugging not ... IPC, and using it as an IPC mechanism is a bit unusual to say the ... The next closest thing are memory ...
    (microsoft.public.platformsdk.security)
  • Re: IPC
    ... Lisa Pearlson wrote: ... > Is IPC one particular method, with certain API's or is IPC just a general ... > terminology for any method of communication between two processes, ... > via shared memory or something? ...
    (microsoft.public.vc.mfc)
  • Re: Jailed sysvipc implementation.
    ... +>> Some time ago I've implemented private memory zones for IPC mechism. ... +>> Every jail and main host got its own memory for IPC operations. ... I implemented something like allocate-on-demand. ...
    (freebsd-arch)
  • Re: Jailed sysvipc implementation.
    ... > Some time ago I've implemented private memory zones for IPC mechism. ... > Every jail and main host got its own memory for IPC operations. ...
    (freebsd-arch)