Re: /tmp in swap space

Stefan Monnier (monnier+lists/linux/kernel/news/@TEQUILA.SYSTEMSZ.CS.YALE.EDU)
23 May 1998 15:12:07 -0400 (Larry McVoy) writes:
> On the other hand, TMPFS is somewhat useful for large file I/O, it will
> run at bcopy speeds. I'm hardpressed to think of a case where having
> high bandwidth for short lived files is a win - most of the files created
> in /tmp are temp files, and are usually a few KB to a few MB. For files
> that small, higher bamdwidth isn't going to gain you anything (and EXT2FS
> will approximate TMPFS for smaller files which fit in the cache).

/tmp doesn't have to be used only for auxiliary files created temporarily by
various applications. I remember doing Emacs compiles on a lightly loaded
SPARC-20 (bi-processor) with 128MB:

> mkdir /tmp/emacs; cd /tmp/emacs; ~/src/emacs-19.34.91/configure

doing it this way was substantially faster and yet, it doesn't seem to be heavy


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to