It should be possible to run with only 64 MB but you will have to
tweak Node and/or your kernel. The issue I ran into (recently
actually) is that V8 tries to map a lot of virtual memory (like
hundreds of MBs) and will fail hard if your kernel doesn't like to
overcommit.
--
Job Board: http://jobs.nodejs.org/
Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to nod...@googlegroups.com
To unsubscribe from this group, send email to
nodejs+un...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en
rad project
Yeah, on webOS, we use a fork-server version of node.js for starting
new services without the overhead of getting a new V8 instance running
to reduce startup time.
Basically, there's a node.js process running waiting for a connection
with parameters to start a service. When that comes in, we have an
extension that lets it call the system call fork() to start a new
process that has a copy-on-write duplication of the V8 context. I
don't think we've released our patches.
> Also, NAND is slow -- isn't NAND typically faster than disk seek/read?
It's faster to seek, but NAND memory often is directly off the CPU
memory bus which means the processor is completely occupied when
reading blocks of Flash into RAM. A system like the TouchPad actually
uses eMMC memory that looks like a block filesystem and benefits from
the ability to do DMA through a controller to copy from flash into
memory without blocking the CPU.
True -- my raw NAND experience was a few years ago on the Palm Foleo
which had a CPU-managed NAND chip running either YAFFS or JFFS
depending on the time of the project. That's where I personally saw
really slow NAND performance, I've not seen it as much with the
eMMC-based devices.