From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f9ef7,60a2ab3d901d0d0a X-Google-Attributes: gidf9ef7,public X-Google-Thread: 10b612,60a2ab3d901d0d0a X-Google-Attributes: gid10b612,public X-Google-Thread: 1164f8,60a2ab3d901d0d0a X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1993-10-30 09:35:29 PST Xref: gmd.de comp.databases.ingres:4487 comp.unix.ultrix:11593 comp.sys.dec:11398 Newsgroups: comp.databases.ingres,comp.unix.ultrix,comp.sys.dec Path: gmd.de!xlink.net!howland.reston.ans.net!europa.eng.gtefsd.com!uunet!olivea!decwrl!pa.dec.com!nntpd2.cxo.dec.com!nabeth.cxo.dec.com!alan From: alan@nabeth.cxo.dec.com (Alan Rollow - Alan's Home for Wayward Tumbleweeds.) Subject: Re: Poor ingres performance on Dec 5000/240 Message-ID: <1993Oct30.011622.4322@nntpd2.cxo.dec.com> Keywords: ingres, database, ultrix, performance, help Sender: usenet@nntpd2.cxo.dec.com (USENET News System) Reply-To: alan@nabeth.cxo.dec.com (Alan Rollow - Alan's Home for Wayward Tumbleweeds.) Organization: Digital Equipment Corporation References: <1993Oct30.004219.3291@nntpd2.cxo.dec.com> Date: Sat, 30 Oct 1993 01:16:22 GMT In article <1993Oct30.004219.3291@nntpd2.cxo.dec.com>, alan@nabeth.cxo.dec.com (Alan Rollow - Alan's Home for Wayward Tumbleweeds.) writes: > [ I responded to... ] >In article , jonas@beor.informatik.rwth-aachen.de (Josef Nelissen) writes: > >[ A system of the quoted configuration is running too slowly. ] > > >>We work on a DEC-system 5000/240, 64 MB, ULTRIX 4.3, INGRES 6.4/03. >>The ULTRIX system, the INGRES system and the database itself have >>their own discs, each of 1.3 GB, a fourth disc is used for PC-network. > and made at least one typo in the commentary on 2b... > The appliation is saturating a single disk, then you need a > faster disk or Striping to get the bandwidth benefits of spreading > the I/O across multiple disks. This should be preceded by an "If". But more importantly promised... > >c. Similar to the bandwidth problem, if a disk is saturated you either > need a faster disk or more disks to handle the I/O load. Which is > better depends on many things that I'll discuss in a later follow-up. If the DBMS insists on doing synchronous writes and has only one process doing the writing there are few things you can do to make the writes faster, except get a faster disk. The problem in this case is that the *next* write has to wait for the current to finish. For this case the best you can do is use a solid state disk. Their seek time and rotational latency are very small (having to neither seek nor rotate). Unfortunately they tend to be more expensive than other disks. In the single threaded I/O case Striping will do very little to help. For a constant capacity device it may help some simply by having each member be smaller and thus reducing the seek time. When the I/O is asynchronous or the I/O is multi-threaded Striping can help more by spreading the I/O among multiple devices. Spreading the I/O among multiple controller can help even more as it allows multiple transfers to take place at once. This feature is somewhat limited when using the PMAZ because it requires the CPU to copy data from the PMAZ intermediate buffer to memory. I have heard plans for support of the PMAZB (dual channel, DMA SCSI adapter) on a future version of ULTRIX, so this limitation may not be a problem eventually. > >>-- >>Josef Nelissen, Lehrstuhl fuer Angewandte Mathematik, insbesondere Informatik, > -- Alan Rollow alan@nabeth.cxo.dec.com