On Tue, 18 Dec 2012 02:39:15 +0100 Joerg Sonnenberger <jo...@britannica.bec.de> said:
> On Tue, Dec 18, 2012 at 09:24:46AM +0900, Carsten Haitzler wrote: > > a file on disk is specified to survive reboots.. UNLESS it is specifically > > in part of the fs that is discarded on reboot. vast difference between them. > > Well, most systems clean up /tmp on boot, so they discard the content as > well. > > > the shm_open impl on linux does ensure reboots == doesn't survive. > > That's not true. The shm_open implementation on Linux just ensures that > it is using /dev/shm if available (or whatever they moved it to > nowadays). It is up to the distribution to mount a tmpfs to that. > > Syncing to disk is often a *good* thing as it tends to significantly > reduce the memory pressure *and* tends to provide more efficient reload > behavior than swap. So yes, shm_open is pretty lame. syncing to disk is a poor poor poor idea for things like shm_open as the data tends not to be static - it tends to keep changing. this adds all sorts of I/O pressure that wasn't there - and I/O is much mroe limtied than ram and mem bandwidth. -- ------------- Codito, ergo sum - "I code, therefore I am" -------------- The Rasterman (Carsten Haitzler) ras...@rasterman.com ------------------------------------------------------------------------------ LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel