From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.redhat.com (mail.redhat.com [199.183.24.239]) by listman.redhat.com (Postfix) with ESMTP id A43B42FAF8 for ; Sat, 17 Mar 2001 09:25:43 -0500 (EST) Received: (from mail@localhost) by mail.redhat.com (8.11.0/8.8.7) id f2HER1921552 for axp-list@listman.redhat.com; Sat, 17 Mar 2001 09:27:01 -0500 Received: from orion.chem.vt.edu (IDENT:root@orion.chem.vt.edu [128.173.180.103]) by mail.redhat.com (8.11.0/8.8.7) with ESMTP id f2HEQxV21548 for ; Sat, 17 Mar 2001 09:26:59 -0500 Received: from localhost (crawdad@localhost) by orion.chem.vt.edu (8.11.0/8.11.0) with ESMTP id f2HEPWO27081 for ; Sat, 17 Mar 2001 09:25:32 -0500 X-Authentication-Warning: orion.chem.vt.edu: crawdad owned process doing -bs Date: Sat, 17 Mar 2001 09:25:32 -0500 (EST) From: "T. Daniel Crawford" X-Sender: To: Subject: Re: Interesting SCSI Performance Problems In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Loop: axp-list@redhat.com Sender: axp-list-admin@redhat.com Errors-To: axp-list-admin@redhat.com X-BeenThere: axp-list@redhat.com X-Mailman-Version: 2.0.1 Precedence: bulk Reply-To: axp-list@redhat.com List-Help: List-Post: List-Subscribe: , List-Id: Linux and Red Hat on Alpha processors List-Unsubscribe: , List-Archive: On Sat, 17 Mar 2001, Alan P. Kennedy, Sr wrote: > >>>>> "T" == T Daniel Crawford writes: > > T> I find this bothersome, to be frank. I can understand the need for > T> safety in the driver, but the performance I observed was pitiful. > T> Since many of us purchase alpha's for fast, fast, fast > T> calculations, this kind of problem strikes me as a serious > T> problem. > > This has been a most interesting thread. I would concur with the above > statement. Could you please post your patch for qlogic driver. I would > like to give it a try here. > > Thanks > The change to the driver is so trivial it can't even be classified as interesting.:) In /usr/src/linux/drivers/scsi/qlogicisp.c, change: #define USE_NVRAM_DEFAULTS 0 to: #define USE_NVRAM_DEFAULTS 1 Also, here is a write-only I/O test program that does nothing but write PI in an 8k buffer to a file to fill up a 2.4 GB file. There is an fdatasunc() call at the end so that the timings will not include buffering. ---------------------------------------------------------------------- #include #include #include #include #include #include #include int main(int argc, char *argv[]) { int i; int fd; double *junk; fd = open("BIGFILE", O_WRONLY|O_CREAT, 0644); junk = (double *) malloc(1024*sizeof(double)); for(i=0; i < 1024; i++) junk[i] = acos(-1.0); /* This should write out 2.4 GB of data to BIGFILE */ for(i=0; i < 300000; i++) write(fd, (char *) junk, 1024*sizeof(double)); fdatasync(fd); close(fd); exit(0); } ---------------------------------------------------------------------- -- T. Daniel Crawford Department of Chemistry crawdad@vt.edu Virginia Tech www.chem.vt.edu/chem-dept/crawford Voice: 540-231-7760 FAX: 540-231-3255