Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* more reading big files...
@ 1993-12-08  3:04 Stephen Reagan
  1993-12-13 10:51 ` Aaron Jackson
  0 siblings, 1 reply; 2+ messages in thread
From: Stephen Reagan @ 1993-12-08  3:04 UTC (permalink / raw)


With regard to my post on reading/writing large files, I was wondering if
using memory-mapped io (a la mmap, etc.) makes sense in this context.
Does it even make any sense with such a large file?  If so, are there any
savings in speed or performance?  Does this even work on Dec Alpha OSF 1.3?

Thanks again,

--Steve


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: more reading big files...
  1993-12-08  3:04 more reading big files Stephen Reagan
@ 1993-12-13 10:51 ` Aaron Jackson
  0 siblings, 0 replies; 2+ messages in thread
From: Aaron Jackson @ 1993-12-13 10:51 UTC (permalink / raw)


>>>>> In article <CHp4J3.HEn@unix.portal.com>, sdr@shell.portal.com (Stephen Reagan) writes:
> Nntp-Posting-Host: jobe.shell.portal.com

> With regard to my post on reading/writing large files, I was wondering if
> using memory-mapped io (a la mmap, etc.) makes sense in this context.
> Does it even make any sense with such a large file?  If so, are there any
> savings in speed or performance?  Does this even work on Dec Alpha OSF 1.3?

I don't know if OSF 1.3 supports mmap(), but if you can use mmap()
you'll probably end up saving yourself a large headache.  I'm not an
OSF 1.3 wiz but most Unices have a buffer cache used for IO.  If you
use the mmap() subsystem you do not use the buffer cache implemented
by the OS and your transfer rate should be higher.

Of course this naturally depends on a number of issues such as the
fact that you are reading a large file sequentially and writing in the
same fashion.  Under SunOS /bin/cp is implemented using mmap().. well
the last SUUG that I have says that..



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1993-12-13 10:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1993-12-08  3:04 more reading big files Stephen Reagan
1993-12-13 10:51 ` Aaron Jackson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox