From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f8c9b,4c96a972b239d053 X-Google-Attributes: gidf8c9b,public X-Google-Thread: fc89c,4c96a972b239d053 X-Google-Attributes: gidfc89c,public X-Google-Thread: fee84,4c96a972b239d053 X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1993-12-09 08:47:48 PST Xref: gmd.de comp.unix.questions:25577 comp.unix.osf.osf1:1673 comp.unix.programmer:10761 Path: gmd.de!xlink.net!howland.reston.ans.net!europa.eng.gtefsd.com!uunet!decwrl!pa.dec.com!bier.kar.dec.com!neideck From: neideck@bier.kar.dec.com (Burkhard Neidecker-Lutz) Newsgroups: comp.unix.questions,comp.unix.osf.osf1,comp.unix.programmer Subject: Re: reading and writing large files (c. 18Mb) Date: 8 Dec 1993 18:04:56 GMT Organization: CEC Karlsruhe Message-ID: <2e5508INNrp2@usenet.pa.dec.com> References: NNTP-Posting-Host: BIER In article 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