Fedora Arm Secondary Architecture/Storage performance

From CDOT Wiki
Revision as of 13:09, 31 March 2010 by Dmchisho (talk | contribs)
Jump to: navigation, search

Performance Results

PATA:

Version 1.03e ——Sequential Output—— –Sequential Input- –Random-

-Per Chr- –Block– -Rewrite- -Per Chr- –Block– –Seeks–

Machine Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP /sec %CP

fedora-arm 2G 5768 96 28790 24 12380 11 5936 96 25991 10 121.0 0

——Sequential Create—— ——–Random Create——–

-Create– –Read— -Delete– -Create– –Read— -Delete–

files /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP

16 12640 97 +++++ +++ 22387 99 10765 82 +++++ +++ 21615 100

fedora-arm,2G,5768,96,28790,24,12380,11,5936,96,25991,10,121.0,0,16,12640,97,+++++,+++,22387,99,10765,82,+++++,+++,21615,100

NFS:

Version 1.03e ——Sequential Output—— –Sequential Input- –Random-

-Per Chr- –Block– -Rewrite- -Per Chr- –Block– –Seeks–

Machine Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP /sec %CP

fedora-arm 2G 5605 92 43362 16 20478 53 5619 98 51789 85 1201 35

——Sequential Create—— ——–Random Create——–

-Create– –Read— -Delete– -Create– –Read— -Delete–

files /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP

16 50 0 3480 27 55 1 49 0 3948 26 53 0

fedora-arm,2G,5605,92,43362,16,20478,53,5619,98,51789,85,1200.7,35,16,50,0,3480,27,55,1,49,0,3948,26,53,0

Block Read/CPU% and Block Write/CPU%.

                   Block Write               CPU%

PATA 28,790 KB/s 24%

NFS 43,362 KB/s 16%

                   Block Read                CPU%

PATA 25,991 KB/s 10%

NFS 51,789 KB/s 85%

iSCSI

Initiator config

Important.png
Kernel Update Needed
The current kernel does not support iSCSI transport.

Host is OpenRD

  1. Install the iscsi-initiator-utils package.
  2. Placed "InitiatorName=iqn.2000-10.ca.on.senecac.hongkong" in /etc/iscsi/initiatorname.iscsi
  3. Start the iscsi and iscsid services.
  4. Discover the remote targets: iscsiadm -m discovery -t sendtargets -p hongkong:3260
  5. List the targets: iscsiadm -m node -- the remote target(s) should be shown.
  6. Login to the targets: iscsiadm -m node -l
  7. You will now have an additional scsi disk device. Use this as one element of a RAID-1 array, using local storage (an LV or a looped-back file) as the other element.
  8. Mount the new RAID-1 array and create a filesystem on it. Place some files there.
  9. Unmount the filesystem, stop the array, log out of the iSCSI disk (iscsiadm -m node -u).
  10. Verify that the filesystem can be locally read on the machine hosting the target.

PATA/USB Config

  • PATA drive connected via USB
  • Device is /dev/sda1 if no other storage is connected

Target Config

  • Host is HongKong
  • IQN is "InitiatorName=iqn.2000-10.ca.on.senecac.hongkong"
  • Target is "target0" which is connected to the LV HongKong/arm1iscsi, size 2GB

Test Strategy

Results