From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,6d2e3a22b54e2f80,start X-Google-Attributes: gid1164f8,public From: Calyx UK Development Subject: Advanced FileSystem and seek (BUG/ Feature ?) Date: 1997/07/14 Message-ID: #1/1 X-Deja-AN: 256787393 Distribution: world Organization: Calyx UK Newsgroups: comp.sys.dec Hi, I think I have found a bug in AdvFS that effects perfomance of the File System that reduces the draw of a file system from 9.5MB/sec to 3MB/sec on HSZ and KZP-SC controllers. The test is very very simple if you have the space!! Please note the hardware config at the end of this note! 1) Create a large file, I used a 1.2GB file. 2) Using the utility of your choice ( I used dd ) read the file in blocks of 8K or bigger writing it to /dev/null if you have no space or to another file system if you do! Using a performance monitoring tool of choice ( I used pmgr ) note the transfer rate and transaction rate. I got 8 - 9.5 MB/sec at 150 transactions/sec At this stage all should be fine 3) Write a very simple C program that opens and reads the file in the same block size as the utility you used. Somewhere in your loop after X iterations perform a seek. If you seek 1byte or 1million bytes the result is the same the performance monitor show the transactions rate go from 150 to 400 and the transfer rate gos from 8 to 3MB/sec. However, if you seek on the 8k boundary (ie seek 8192 bytes or a multiple threre of) nothing goes wrong. I have told DEC Support of this however, they suggest that I start fiddling with the blocking factor of the controller.....! Has anyone else noticed this, or has anyone found a way around it, as there must be people out there using RAID controllers, using AdvFS and seeking..! Thanks in Advance Config Note! I have tried this out on the folowing : DEC Alpha 1000, 2100, 4100 8400 Servers running DEC Unix 3.2c/d/f and 4.0a/b using RAID controllers KZP-SC or HSZ-50 configured with RAID 0 or 0+1 or 5 stripes of 2 disks or more all systems exhibit the same problem! N.B 1) However, I did try this test on a workstation using its internal controller and could not replicate the problem, therefore, could this be the queing with AdvFS and RAID controllers ? N.B 2) Using the same hardware config I don't get this problem with UFS. Richard -- Claritas Group UK Development