From: neideck@bier.kar.dec.com (Burkhard Neidecker-Lutz)
Subject: Re: reading and writing large files (c. 18Mb)
Date: 8 Dec 1993 18:04:56 GMT [thread overview]
Message-ID: <2e5508INNrp2@usenet.pa.dec.com> (raw)
In-Reply-To: CHoysq.7v9@unix.portal.com
In article <CHoysq.7v9@unix.portal.com> sdr@shell.portal.com (Stephen Reagan) writes:
>I have been given a project which involves reading approx. 18Mb of information
>from one file and then appending this information to another file; the program
>is to run every 30 minutes and at the beginning of each day a new file is to
>be created.
I don't consider 18 Mbyte a lot (where video engineering here:)
% ls -l btf2*
-r--r--r-- 1 neideck 968846970 Jan 20 1993 btf2
-r--r--r-- 1 neideck 47644672 Jan 20 1993 btf2.au
(this is an entire 95 minute movie as motion JPEG). So, working with large
files is certainly possible.
>
> 1). What impact will this have performance-wise? We are running
> real-time applications on DEC Alpha OSF 1.3; my concern is that
> this kind of stuff will bring the system to its knees.
If you're concerned about overrunning other processes in CPU, lower
your own priority, if you're concerned about pushing the systems
I/O system, "throttle" you write traffic, i.e. do the append-writing
in a timed loop and insert some usleeps in between
> 2). Assuming that the system can handle this kind of onslaught,
> is there a recommended way of processing this kind of data
18 MByte every 30 minutes isn't a lot, so just use normal stdio functions.
> 3). Does it make any sense to keep this information in a separate
> file system, in terms of performance? How about on another node,
It makes sense in terms of disk space :-).
Burkhard Neidecker-Lutz
Distributed Multimedia Group, CEC Karlsruhe
BERKOM II Project
Digital Equipment Corporation
neideck@nestvx.enet.dec.com
next prev parent reply other threads:[~1993-12-08 18:04 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1993-12-08 1:00 reading and writing large files (c. 18Mb) Stephen Reagan
1993-12-08 18:04 ` Burkhard Neidecker-Lutz [this message]
1993-12-09 4:43 ` Alan Rollow - Alan's Home for Wayward Tumbleweeds.
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox