* RAID performance question on Tru64 @ 2003-04-07 7:48 Liu 2003-04-07 12:08 ` Stuart Fuller 0 siblings, 1 reply; 6+ messages in thread From: Liu @ 2003-04-07 7:48 UTC (permalink / raw) Hello. I'm a newbie to RAID. Doing something on RAID , I found it somewhat slow. so I did a simple test. just copy a big file(sized almost exactly 2G byte) to itself. (date;cp bigfile ..;date) it took 4min 4sec. I copied on itself so, estimated speed is 17M byte/sec. I'm using compaq RA3000 & RA8000 (each on diffrent machine of cource). but the result is almost same. Each RAID is mirrored and striped. No parity checking. Accoriding to spec., RA3000 uses UltraSCSI2 & has max bandwidth of 39.5 Mbyte/sec. Is it normal transfer rate of 17Mb/sec for RAID with above configuration?? (I found suspicious thing though, all disks in raid has a 10K RPM in spec. but by using 'disklabel -p' they say that they have 3.6K RPM.) Thanx for ur kind answer in advance. ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: RAID performance question on Tru64 2003-04-07 7:48 RAID performance question on Tru64 Liu @ 2003-04-07 12:08 ` Stuart Fuller 2003-04-08 1:37 ` Liu 0 siblings, 1 reply; 6+ messages in thread From: Stuart Fuller @ 2003-04-07 12:08 UTC (permalink / raw) Liu wrote: > Hello. > I'm a newbie to RAID. Doing something on RAID , I found it somewhat slow. > so I did a simple test. just copy a big file(sized almost exactly 2G byte) > to itself. (date;cp bigfile ..;date) > > it took 4min 4sec. I copied on itself so, estimated speed is 17M byte/sec. > > I'm using compaq RA3000 & RA8000 (each on diffrent machine of cource). > but the result is almost same. Each RAID is mirrored and striped. No > parity checking. Accoriding to spec., RA3000 uses UltraSCSI2 & has max > bandwidth of 39.5 Mbyte/sec. > > Is it normal transfer rate of 17Mb/sec for RAID with above configuration?? > > (I found suspicious thing though, all disks in raid has a 10K RPM in spec. > but by using 'disklabel -p' they say that they have 3.6K RPM.) > > Thanx for ur kind answer in advance. If you copied the data file to itself, then you need to remember that you read the disk, and wrote the disk at the same time. So, if you're seeing a speed of 17MB/sec, then remember that it was 17MB/sec reading, then 17MB/sec writing, which is fairly close to the 39.5MB/sec THEORETICAL maximum transfer rate. Also, the disks behind the RA[38]000 controller are important. While the disks themselves are 10K RPM, the unit presented by the RA[38]000 controller do not reflect the disks themselves. There used to be a time when device drivers cared about the rotational speed of disks, but not any more, especially with RAID controllers. So, 3.6K RPM is a nice "default" value. -- Stu ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: RAID performance question on Tru64 2003-04-07 12:08 ` Stuart Fuller @ 2003-04-08 1:37 ` Liu 2003-04-08 8:50 ` nospam 0 siblings, 1 reply; 6+ messages in thread From: Liu @ 2003-04-08 1:37 UTC (permalink / raw) Stuart Fuller <stufuller@usa.net> wrote in news:0opr6b.rgr.ln@dadsys2.fuller.local: > Liu wrote: > >> Hello. >> I'm a newbie to RAID. Doing something on RAID , I found it somewhat >> slow. so I did a simple test. just copy a big file(sized almost >> exactly 2G byte) to itself. (date;cp bigfile ..;date) >> >> it took 4min 4sec. I copied on itself so, estimated speed is 17M >> byte/sec. >> >> I'm using compaq RA3000 & RA8000 (each on diffrent machine of >> cource). but the result is almost same. Each RAID is mirrored and >> striped. No parity checking. Accoriding to spec., RA3000 uses >> UltraSCSI2 & has max bandwidth of 39.5 Mbyte/sec. >> >> Is it normal transfer rate of 17Mb/sec for RAID with above >> configuration?? >> >> (I found suspicious thing though, all disks in raid has a 10K RPM in >> spec. but by using 'disklabel -p' they say that they have 3.6K RPM.) >> >> Thanx for ur kind answer in advance. > > If you copied the data file to itself, then you need to remember that > you read the disk, and wrote the disk at the same time. So, if you're > seeing a speed of 17MB/sec, then remember that it was 17MB/sec > reading, then 17MB/sec writing, which is fairly close to the > 39.5MB/sec THEORETICAL maximum transfer rate. > > Also, the disks behind the RA[38]000 controller are important. > > While the disks themselves are 10K RPM, the unit presented by the > RA[38]000 controller do not reflect the disks themselves. There used > to be a time when device drivers cared about the rotational speed of > disks, but not any more, especially with RAID controllers. So, 3.6K > RPM is a nice "default" value Thanx Answer on RPM is especially enlightening to me. But regarding max transfer rate, I already counted on the "copying" feature of the test. By copying 2G bytes file, i calculated it 4G/244sec. And more,while copying, "iostat" command did not showed more than 16M bps(bytes per sec.). Yesterday, I had a chance to be in front of console again (not a happy case. *shrug*) And doing that copy test again, watching LED's on RAID box. LED's showed that the mirror & striped feature of RAID r on the same controllers each. I donno why the [compaq] engineer who installed OS did so. but... Is it normal to do so? (a logical disk consisting of a few physical disks mirrored & striped ON THE SAME CONTROLLER) Thanx again in advance. ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: RAID performance question on Tru64 2003-04-08 1:37 ` Liu @ 2003-04-08 8:50 ` nospam 2003-04-08 15:35 ` David Konerding 0 siblings, 1 reply; 6+ messages in thread From: nospam @ 2003-04-08 8:50 UTC (permalink / raw) in article Xns93576CC81EF01JHLiu@203.239.130.2, Liu at please@dont.spam.com wrote on 08/04/2003 11:37: > Stuart Fuller <stufuller@usa.net> wrote in > news:0opr6b.rgr.ln@dadsys2.fuller.local: > >> Liu wrote: >> >>> Hello. >>> I'm a newbie to RAID. Doing something on RAID , I found it somewhat >>> slow. so I did a simple test. just copy a big file(sized almost >>> exactly 2G byte) to itself. (date;cp bigfile ..;date) Looks like you don't know about the time command? # time cp bigfile .. Also cp is not really your friend. My preference is to use # time dd if=bigfile of=/dev/null bs=64k Which is designed to give me peak! read performance Or # time dd if=/dev/zero of=bigfile bs=64k count=16384 To create a 1g file In this way you have control of the size of the reads (at least more so than cp) and you only do read or write not both. This is also reading/writing though the file system buffers you can at least do the read from the raw devices that the file system is on to see the read performance outside of the file system. Make sure you don't do the write test to the raw volume if you care about the fs. When you say RAID are you RAID 0, 1, 0+1, 5 ? >>> >>> (I found suspicious thing though, all disks in raid has a 10K RPM in >>> spec. but by using 'disklabel -p' they say that they have 3.6K RPM.) Suggest you use disklabel -r to read labels from physical disks -p will show you the kernel copy of a label which will exist even when the physical label doesn't disklabel -r will tell you the truth ;) Also ignore the RPM reported in the disklabel its not really relevant. Cheers Mark ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: RAID performance question on Tru64 2003-04-08 8:50 ` nospam @ 2003-04-08 15:35 ` David Konerding 2003-04-11 11:21 ` Liu 0 siblings, 1 reply; 6+ messages in thread From: David Konerding @ 2003-04-08 15:35 UTC (permalink / raw) In article <BAB8CAC6.122AF%x@wedontwantyourspam.com>, nospam wrote: > in article Xns93576CC81EF01JHLiu@203.239.130.2, Liu at please@dont.spam.com > wrote on 08/04/2003 11:37: > >> Stuart Fuller <stufuller@usa.net> wrote in >> news:0opr6b.rgr.ln@dadsys2.fuller.local: >> >>> Liu wrote: >>> >>>> Hello. >>>> I'm a newbie to RAID. Doing something on RAID , I found it somewhat >>>> slow. so I did a simple test. just copy a big file(sized almost >>>> exactly 2G byte) to itself. (date;cp bigfile ..;date) > > Looks like you don't know about the time command? > # time cp bigfile .. > Also cp is not really your friend. > My preference is to use > # time dd if=bigfile of=/dev/null bs=64k > Which is designed to give me peak! read performance > Or > # time dd if=/dev/zero of=bigfile bs=64k count=16384 > To create a 1g file > In this way you have control of the size of the reads (at least more so than > cp) and you only do read or write not both. This is also reading/writing > though the file system buffers you can at least do the read from the raw > devices that the file system is on to see the read performance outside of > the file system. Make sure you don't do the write test to the raw volume if > you care about the fs. Just use iozone or bonnie, they will give you the numbers most relevant to your real world experience (well, maybe). They ask the OS to sync the data as soon as it is written, but of course the large cache on the RAID controller will mask some of that. You must then try to use file data even larger than the cache (multiple gigabytes). Even "raw devices" would still be cached at the controller, unless the OS/device driver/RAID controller had some way of indicating direct writes to drives (I have no idea if this is the case). Note that, it's worthwhile reading the specs of the RAID controller and the drive array and being knowledgeable about its structure (you said you looked at the array configuration and it was mirrored and striped on one controller; whether that causes you to see a performance hit at the FS level depends on a lot of factors). We were wondering about the lower read and write performance of our RAID array until we looked more closely at the specs. Although it has a fibre channel interface, the controller has a maximum throughput of 16MB/s a second. Dave ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: RAID performance question on Tru64 2003-04-08 15:35 ` David Konerding @ 2003-04-11 11:21 ` Liu 0 siblings, 0 replies; 6+ messages in thread From: Liu @ 2003-04-11 11:21 UTC (permalink / raw) > until we looked more closely at the specs. Although it has a fibre > channel interface, the controller has a maximum throughput of 16MB/s a > second. > > Dave OOps. Was the array titled 'RA3000' or 'RA8000'? Finally i installed RAID monitoring tool on notebook & examined configuration of RAID. But I couldnt find any suspicous thing. It has 12 physical disks & 7 logical disks. 5 of logical disk is just mirrored with 2 disks each. Other 2 logical disks is mirrored and striped with 6 physical disks shared. And RAID has 2 controllers but it seems that it cannot use both at the same time. Finally, I concluded it's max thoughput is about 16Mb/s.(I couldnt find any clue on max throughput on documents) What a ridiculos and disappointing! *sigh* What a expensive disks it is! I saw IDE RAID box one day. it consists of 8 disks forming level 5 RAID costing 1/30 compared with mine. long live RAIDs! ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2003-04-11 11:21 UTC | newest] Thread overview: 6+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2003-04-07 7:48 RAID performance question on Tru64 Liu 2003-04-07 12:08 ` Stuart Fuller 2003-04-08 1:37 ` Liu 2003-04-08 8:50 ` nospam 2003-04-08 15:35 ` David Konerding 2003-04-11 11:21 ` Liu
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox