AF:
NF:0
PS:10
SRH:1
SFN:
DSR:
MID:
CFG:
PT:0
S:andy.sharp@onstor.com
RQ:
SSV:onstor-exch02.onstor.net
NSV:
SSH:
R:<brian.stark@onstor.com>,<bill.fisher@onstor.com>,<warren.gale@onstor.com>
MAID:1
X-Sylpheed-Privacy-System:
X-Sylpheed-Sign:0
SCF:#mh/Mailbox/sent
RMID:#imap/andys@onstor.net@onstor-exch02.onstor.net/INBOX	0	BB375AF679D4A34E9CA8DFA650E2B04E0BC6429D@onstor-exch02.onstor.net
X-Sylpheed-End-Special-Headers: 1
Date: Thu, 2 Oct 2008 17:50:57 -0700
From: Andrew Sharp <andy.sharp@onstor.com>
To: "Brian Stark" <brian.stark@onstor.com>
Cc: "Bill Fisher" <bill.fisher@onstor.com>, "Warren Gale"
 <warren.gale@onstor.com>
Subject: Re: Latest prom Load numbers
Message-ID: <20081002175057.3cc5cd3e@ripper.onstor.net>
In-Reply-To: <BB375AF679D4A34E9CA8DFA650E2B04E0BC6429D@onstor-exch02.onstor.net>
References: <48E5660E.1050507@onstor.com>
	<BB375AF679D4A34E9CA8DFA650E2B04E0BC6429D@onstor-exch02.onstor.net>
Organization: Onstor
X-Mailer: Sylpheed-Claws 2.6.0 (GTK+ 2.8.20; x86_64-pc-linux-gnu)
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

What's strange is the differences:

linux kernel: 378.26 KB/s (3007.59 KB)
txrx image:   514.6  KB/s (7567.21 KB)
fp image:     547.17 KB/s (5962.03 KB)



On Thu, 2 Oct 2008 17:29:14 -0700 "Brian Stark"
<brian.stark@onstor.com> wrote:

> I got the following when loading optimized images:
>=20
> diag menu cmd: 55
>   loop count: 1
> Read files from both Compact Flash cards (CF)
>=20
> Diag Read files from dev: sda1
> ext2_load_file: /dev/sda1/boot/vmlinux.bin, location
> 0xffffffff82000000 disk model: CF
> 1GB                                  =E2=98=BA disk geometry: cylinders=
=3D2044
> heads=3D16 sectors=3D63 ext2fs_file_read: file * 0xffffffff80d1e020, size
> 3079776(0x2efe60), location 0xffffffff82000000 Loading time dev:
> sda1: time msecs: 7951
>=20
> ext2_load_file: /dev/sda1/boot/txrx_cg.bin, location 0x42000000
> disk model: CF 1GB                                  =E2=98=BA
> disk geometry: cylinders=3D2044 heads=3D16 sectors=3D63
> ext2fs_file_read: file * 0xffffffff80d1d620, size 7748832(0x763ce0),
> location 0x42000000 Loading time dev: sda1: time msecs: 14705
>=20
> ext2_load_file: /dev/sda1/boot/fp_cg.bin, location 0x44000000
> disk model: CF 1GB                                  =E2=98=BA
> disk geometry: cylinders=3D2044 heads=3D16 sectors=3D63
> ext2fs_file_read: file * 0xffffffff80d1cc20, size 6105128(0x5d2828),
> location 0x44000000 Loading time dev: sda1: time msecs: 10895
>=20
>=20
>=20
> Total time is 33.5 seconds.  The previous PROM was taking 1 minute 15
> seconds to load these same images. =20
>=20
>=20
>=20
>=20
> -----Original Message-----
> From: Bill Fisher=20
> Sent: Thursday, October 02, 2008 5:24 PM
> To: Brian Stark; Andy Sharp; Warren Gale
> Cc: Bill Fisher
> Subject: Latest prom Load numbers
>=20
>  Folks:
>=20
> I hacked Warren's load code to add timing and size of the loaded
> image and below are
> the results. I have also confirmed the code is doing 8-bit, single
> byte reads
> and writes from the control and data registers. Hence we might get=20
> another 2X
> with some minor additions.
>=20
>  diag menu cmd: 55
>   loop count: 1
> Read files from both Compact Flash cards (CF)
>=20
> Diag Read files from dev: sda1
> ext2_load_file: /dev/sda1/boot/vmlinux.bin, location
> 0xffffffff82000000 disk model: CF 1GB
>  =01 disk geometry: cylinders=3D2044 heads=3D16 sectors=3D63
> ext2fs_file_read: file * 0xffffffff80d1ea20, size 3079808(0x2efe80),=20
> location 0xffffffff82000000
> Loading time dev: sda1: time msecs: 7933
>=20
> ext2_load_file: /dev/sda1/boot/txrx_cg.bin, location 0x42000000
> disk model: CF 1GB                                  =01
> disk geometry: cylinders=3D2044 heads=3D16 sectors=3D63
> ext2fs_file_read: file * 0xffffffff80d1e020, size 10322680(0x9d82f8),=20
> location 0x42000000
> Loading time dev: sda1: time msecs: 20716
>=20
> ext2_load_file: /dev/sda1/boot/fp_cg.bin, location 0x44000000
> disk model: CF 1GB                                  =01
> disk geometry: cylinders=3D2044 heads=3D16 sectors=3D63
> ext2fs_file_read: file * 0xffffffff80d1d620, size 8531496(0x822e28),=20
> location 0x44000000
> Loading time dev: sda1: time msecs: 16432
>=20
>=20
> Diag Read files from dev: sdb1
> ext2_load_file: /dev/sdb1/boot/vmlinux.bin, location
> 0xffffffff82000000 ext2fs_free ext2fs_free_mem 0xffffffff80b926b0
> Loading time dev: sdb1: time msecs: 21
>  Checking for Test Done.
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
>=20
> This appears to be around 500 KBytes/second versus Andy's 2MB/second
> under the Linux 2.6.X kernel. It would be interesting to measure the
> effects of interrupts versus polling. The 16-bit reads appear o be
> a no-brainer. I will look at the kernel's driver again to confirm
> if indeed it is doing 16-bit data reads.
>=20
> Later,
>=20
> -- Bill
>=20
