Re: Architecture ideas for batch processing?




"Aquila Deus" <aquila.deus@xxxxxxxxx> wrote in message
news:1118552658.847515.283050@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> Alan Meyer wrote:
> > "Ray in HK" <ray@xxxxxxxxx> wrote in message
news:d8ge0v$20e4@xxxxxxxxxxxxxxxxxxxxxxxxx
> > > What are the market price of ram.
> >
> > Thanks for the reply.
> >
> > RAM can be surprisingly expensive when you buy it in multi-bank,
> > multi-gigabyte modules for Sun machines. But your point is well
> > taken. The extra cost may be justified.
> >
> > There may be some processing efficiencies besides using
> > less memory management in a multi-threaded vs. multi-tasking
> > design.
> >
> > Maybe someone has experience in this area?
>
> Ask unix or windows experts. There are at least three disadvantages:
>
> 1.Allocating a process uses more resource than a new thread. But given
> Java's own resource need, .... :-)
>
> 2.Context-switching processes takes longer time than switching threads.

So on a per batch basis, the percentage of time wasted is this:

(A tiny part of a fraction of a second) / (A few minutes or hours)
is approx == 0, so just forget about it.

> 3.On non-SMP, sync between processes are super heavy compared to
> thread's. In x86 all you need to do mutex between threads is an
> exchange command, but between processes....
>
>
> PS: none of above is really important.
>


.



Relevant Pages

  • Re: Garbage Collection and Library Deployment
    ... However, looking at Task Manager, the RAM is ... Just because you're done with the memory, that doesn't mean .NET releases the OS allocation it made in order to satisfy your need. ... Just because RAM is "a valuable resource for your low-end system", that doesn't mean your program should be explicitly trying to manage it. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: RAM-CPU Singularity
    ... CPU resources as one single computing resource, ... RAM, or a very slow CPU but very rich RAM) and able to re-adapt to a new ... Another point would be to offer more abstract algorithm and data structures: instead of letting the developer choose the concrete algorithm or structure, he should be able to give hints on memory-usage and usage frequency of the data. ...
    (comp.theory)
  • RAM-CPU Singularity
    ... RAM tomorrow, I have this idea of RAM-CPU singularity: ... and CPU resources as one single computing resource, ... resource to compensate the urgent needs of another kind of resource. ... between different kinds of computing resources, ...
    (comp.theory)
  • Re: Store.exe taking 700MB of RAM
    ... By default Exchange Store.exe uses every available resource so that it ... >> much RAM for a 30 user system? ... The other SBS servers I ...
    (microsoft.public.windows.server.sbs)
  • Re: [PATCH] x86/pci: make pci_mem_start to be aligned only -v4
    ... it wasn't RAM, ... But it wouldn't be a zero-size region, it would be a one-byte sized ... It's just that my patch was missing the "-1" from the end that I ... The 'end' in a resource region is the last byte, ...
    (Linux-Kernel)