From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f8c9b,4c96a972b239d053,start X-Google-Attributes: gidf8c9b,public X-Google-Thread: fc89c,4c96a972b239d053,start X-Google-Attributes: gidfc89c,public X-Google-Thread: fee84,4c96a972b239d053,start X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1993-12-08 10:04:04 PST Xref: gmd.de comp.unix.questions:25540 comp.unix.osf.osf1:1665 comp.unix.programmer:10739 Newsgroups: comp.unix.questions,comp.unix.osf.osf1,comp.unix.programmer Path: gmd.de!newsserver.jvnc.net!yale.edu!spool.mu.edu!howland.reston.ans.net!vixen.cso.uiuc.edu!sdd.hp.com!portal!sdr From: sdr@shell.portal.com (Stephen Reagan) Subject: reading and writing large files (c. 18Mb) Message-ID: Sender: news@unix.portal.com Nntp-Posting-Host: jobe.shell.portal.com Organization: Portal Communications Company X-Newsreader: TIN [version 1.2 PL2] Date: Wed, 8 Dec 1993 01:00:24 GMT 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. My questions are this: 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. 2). Assuming that the system can handle this kind of onslaught, is there a recommended way of processing this kind of data (particularly in writing it out to the disk file and subsequently reading it at a later time)? The file structure is supposed to contain header information along with pointers to offset locations within the file where the actual data is stored. The data itself is supposed to be a combination of numeric and ascii string data. 3). Does it make any sense to keep this information in a separate file system, in terms of performance? How about on another node, accessible via TCP/IP? My guess is there ought to be some kind of "server" responsible for actually accessing this file and sending data to or receiving it from some other process/source. I am under enormous pressure to implement something within a matter of weeks from scratch. My fear is that if I do not address these issues now, I will wind up with a monster which very well not work at all under any sort of system load or at best will cripple performance while at the same time running very inefficiently... ANY ADVICE??? Thanks! --Steve