* RE: [ANNOUNCE] megaraid 2.00.6 patch for kernels without hostlock
@ 2003-07-31 21:10 Mukker, Atul
2003-07-31 23:14 ` Matthew Wilcox
` (2 more replies)
0 siblings, 3 replies; 6+ messages in thread
From: Mukker, Atul @ 2003-07-31 21:10 UTC (permalink / raw)
To: 'Jens Axboe', Bagalkote, Sreenivas
Cc: 'linux-kernel@vger.kernel.org',
'linux-scsi@vger.kernel.org',
'linux-megaraid-devel@dell.com'
Well, that's definitely a good idea. Expect a new driver with this change.
BTW, is there a kernel version beyond which all versions would support per
host lock, and I mean a 2.4.x kernel :-)
Thanks
-Atul Mukker
> -----Original Message-----
> From: Jens Axboe [mailto:axboe@suse.de]
> Sent: Thursday, July 31, 2003 5:06 AM
> To: Bagalkote, Sreenivas
> Cc: 'linux-kernel@vger.kernel.org'; 'linux-scsi@vger.kernel.org';
> 'linux-megaraid-devel@dell.com'
> Subject: Re: [ANNOUNCE] megaraid 2.00.6 patch for kernels without
> hostlock
>
>
> On Wed, Jul 30 2003, Bagalkote, Sreenivas wrote:
> > Please apply this patch to megaraid 2.00.6 driver for
> kernels that don't
> > support per host lock. This can be found at :
> >
> > ftp://ftp.lsil.com/pub/linux-megaraid/drivers/version-2.00.6/
>
> It's easily possible to keep the impact of maintaining a driver across
> such kernels a lot smaller, by simply using the same lock in the
> spin_lock calls and just assign that lock to adapter->lock or
> io_request_lock depending on the kernel.
>
> --
> Jens Axboe
>
> _______________________________________________
> Linux-megaraid-devel mailing list
> Linux-megaraid-devel@dell.com
> http://lists.us.dell.com/mailman/listinfo/linux-megaraid-devel
> Please read the FAQ at http://lists.us.dell.com/faq or search
> the list archives at http://lists.us.dell.com/htdig/
>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [ANNOUNCE] megaraid 2.00.6 patch for kernels without hostlock
2003-07-31 21:10 [ANNOUNCE] megaraid 2.00.6 patch for kernels without hostlock Mukker, Atul
@ 2003-07-31 23:14 ` Matthew Wilcox
2003-08-01 5:49 ` Jens Axboe
2003-08-01 13:54 ` Disk speed differences under 2.6.0 Gordon Larsen
2 siblings, 0 replies; 6+ messages in thread
From: Matthew Wilcox @ 2003-07-31 23:14 UTC (permalink / raw)
To: Mukker, Atul
Cc: 'Jens Axboe',
Bagalkote, Sreenivas, 'linux-kernel@vger.kernel.org',
'linux-scsi@vger.kernel.org',
'linux-megaraid-devel@dell.com'
On Thu, Jul 31, 2003 at 05:10:50PM -0400, Mukker, Atul wrote:
>
> Well, that's definitely a good idea. Expect a new driver with this change.
> BTW, is there a kernel version beyond which all versions would support per
> host lock, and I mean a 2.4.x kernel :-)
that's a pretty dangerous change to make to a stable kernel. much better
to work on stabilising 2.6.
--
"It's not Hollywood. War is real, war is primarily not about defeat or
victory, it is about death. I've seen thousands and thousands of dead bodies.
Do you think I want to have an academic debate on this subject?" -- Robert Fisk
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [ANNOUNCE] megaraid 2.00.6 patch for kernels without hostlock
2003-07-31 21:10 [ANNOUNCE] megaraid 2.00.6 patch for kernels without hostlock Mukker, Atul
2003-07-31 23:14 ` Matthew Wilcox
@ 2003-08-01 5:49 ` Jens Axboe
2003-08-01 13:54 ` Disk speed differences under 2.6.0 Gordon Larsen
2 siblings, 0 replies; 6+ messages in thread
From: Jens Axboe @ 2003-08-01 5:49 UTC (permalink / raw)
To: Mukker, Atul
Cc: Bagalkote, Sreenivas, 'linux-kernel@vger.kernel.org',
'linux-scsi@vger.kernel.org',
'linux-megaraid-devel@dell.com'
On Thu, Jul 31 2003, Mukker, Atul wrote:
>
> Well, that's definitely a good idea. Expect a new driver with this change.
> BTW, is there a kernel version beyond which all versions would support per
> host lock, and I mean a 2.4.x kernel :-)
Unfortunately no, however it is trivial to just add host->lock pointer
and make it point to io_request_lock. Ditto for q->queue_lock. That wont
change how the code operates at all. I will probably do that once 2.4.23
opens, it would make maintaining 2.6/2.4 drivers much easier (and ditto
for vendor kernels).
--
Jens Axboe
^ permalink raw reply [flat|nested] 6+ messages in thread
* Disk speed differences under 2.6.0
2003-07-31 21:10 [ANNOUNCE] megaraid 2.00.6 patch for kernels without hostlock Mukker, Atul
2003-07-31 23:14 ` Matthew Wilcox
2003-08-01 5:49 ` Jens Axboe
@ 2003-08-01 13:54 ` Gordon Larsen
2003-08-01 14:55 ` Måns Rullgård
2 siblings, 1 reply; 6+ messages in thread
From: Gordon Larsen @ 2003-08-01 13:54 UTC (permalink / raw)
To: linux-kernel
My apologies if this has already been discussed - but has anyone noticed
disk I/O speed differences under 2.6.0 as compared to 2.4.20? My system has
an ASUS A7V333 MB with 768M Ram, a 1300MHz Duron, three 40GB Maxtor drives
running linux software raid. See the screen capture below:
-----------------------------
2.4.20-19.9 -----------------------------------------------
[root@alpha root]# uname -a
Linux alpha 2.4.20-19.9 #1 Mon Jul 28 18:59:34 MDT 2003 i686 athlon i386
GNU/Linux
[root@alpha root]# hdparm -t /dev/md0
/dev/md0:
Timing buffered disk reads: 64 MB in 2.90 seconds = 22.07 MB/sec
[root@alpha root]# hdparm -t /dev/md1
/dev/md1:
Timing buffered disk reads: 64 MB in 1.66 seconds = 38.55 MB/sec
[root@alpha root]# hdparm -t /dev/md2
/dev/md2:
Timing buffered disk reads: 64 MB in 0.96 seconds = 66.67 MB/sec
[root@alpha root]# hdparm -t /dev/md3
/dev/md3:
Timing buffered disk reads: 64 MB in 1.74 seconds = 36.78 MB/sec
[root@alpha root]# hdparm -t /dev/md4
/dev/md4:
Timing buffered disk reads: 64 MB in 1.74 seconds = 36.78 MB/sec
[root@alpha root]# hdparm -t /dev/md5
/dev/md5:
Timing buffered disk reads: 64 MB in 1.68 seconds = 38.10 MB/sec
[root@alpha root]# hdparm -t /dev/md6
/dev/md6:
Timing buffered disk reads: 64 MB in 1.70 seconds = 37.65 MB/sec
-----------------------------
2.6.0-0.test.2.1.28 -----------------------------------------------
[root@alpha root]# uname -a
Linux alpha 2.6.0-0.test2.1.28custom #1 Thu Jul 31 20:02:20 MDT 2003 i686
athlon i386 GNU/Linux
[root@alpha root]# hdparm -t /dev/md0
/dev/md0:
Timing buffered disk reads: 64 MB in 2.67 seconds = 24.00 MB/sec
[root@alpha root]# hdparm -t /dev/md1
/dev/md1:
Timing buffered disk reads: 64 MB in 1.92 seconds = 33.37 MB/sec
[root@alpha root]# hdparm -t /dev/md2
/dev/md2:
Timing buffered disk reads: 64 MB in 1.37 seconds = 46.79 MB/sec
[root@alpha root]# hdparm -t /dev/md3
/dev/md3:
Timing buffered disk reads: 64 MB in 2.23 seconds = 28.69 MB/sec
[root@alpha root]# hdparm -t /dev/md4
/dev/md4:
Timing buffered disk reads: 64 MB in 2.20 seconds = 29.07 MB/sec
[root@alpha root]# hdparm -t /dev/md5
/dev/md5:
Timing buffered disk reads: 64 MB in 2.03 seconds = 31.45 MB/sec
[root@alpha root]# hdparm -t /dev/md6
/dev/md6:
Timing buffered disk reads: 64 MB in 1.99 seconds = 32.23 MB/sec
-----------------------------
Mounts -----------------------------------------------
[root@alpha root]# mount
/dev/md0 on / type ext3 (rw)
none on /proc type proc (rw)
usbdevfs on /proc/bus/usb type usbdevfs (rw)
/dev/md1 on /boot type ext3 (rw)
none on /dev/pts type devpts (rw,gid=5,mode=620)
/dev/md3 on /home type ext3 (rw)
none on /dev/shm type tmpfs (rw)
/dev/md6 on /tmp type ext3 (rw)
/dev/md4 on /usr type ext3 (rw)
/dev/md5 on /var type ext3 (rw)
----------------------------- MD Device
dump -----------------------------------------------
[root@alpha root]# lsraid -R -p
# md device [dev 9, 2] /dev/md2 queried online
raiddev /dev/md2
raid-level 0
nr-raid-disks 2
nr-spare-disks 0
persistent-superblock 1
chunk-size 64
device /dev/hde1
raid-disk 0
device /dev/hdg2
raid-disk 1
# md device [dev 9, 1] /dev/md1 queried online
raiddev /dev/md1
raid-level 1
nr-raid-disks 2
nr-spare-disks 0
persistent-superblock 1
chunk-size 64
device /dev/hde2
raid-disk 0
device /dev/hdg1
raid-disk 1
# md device [dev 9, 4] /dev/md4 queried online
raiddev /dev/md4
raid-level 5
nr-raid-disks 3
nr-spare-disks 0
persistent-superblock 1
chunk-size 64
device /dev/hde3
raid-disk 0
device /dev/hdg3
raid-disk 1
device /dev/hdh3
raid-disk 2
# md device [dev 9, 3] /dev/md3 queried online
raiddev /dev/md3
raid-level 5
nr-raid-disks 3
nr-spare-disks 0
persistent-superblock 1
chunk-size 64
device /dev/hde5
raid-disk 0
device /dev/hdg5
raid-disk 1
device /dev/hdh5
raid-disk 2
# md device [dev 9, 5] /dev/md5 queried online
raiddev /dev/md5
raid-level 5
nr-raid-disks 3
nr-spare-disks 0
persistent-superblock 1
chunk-size 64
device /dev/hde6
raid-disk 0
device /dev/hdg6
raid-disk 1
device /dev/hdh6
raid-disk 2
# md device [dev 9, 0] /dev/md0 queried online
raiddev /dev/md0
raid-level 1
nr-raid-disks 2
nr-spare-disks 0
persistent-superblock 1
chunk-size 64
device /dev/hde7
raid-disk 0
device /dev/hdg7
raid-disk 1
# md device [dev 9, 6] /dev/md6 queried online
raiddev /dev/md6
raid-level 5
nr-raid-disks 3
nr-spare-disks 0
persistent-superblock 1
chunk-size 64
device /dev/hde8
raid-disk 0
device /dev/hdg8
raid-disk 1
device /dev/hdh8
raid-disk 2
[root@alpha root]#
--------------------------------
end-of-capture -----------------------------------------------
Cheers...Gord
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Disk speed differences under 2.6.0
2003-08-01 13:54 ` Disk speed differences under 2.6.0 Gordon Larsen
@ 2003-08-01 14:55 ` Måns Rullgård
2003-08-04 14:12 ` Gordon Larsen
0 siblings, 1 reply; 6+ messages in thread
From: Måns Rullgård @ 2003-08-01 14:55 UTC (permalink / raw)
To: linux-kernel
"Gordon Larsen" <glarsen@alpha.homedns.org> writes:
> My apologies if this has already been discussed - but has anyone noticed
> disk I/O speed differences under 2.6.0 as compared to 2.4.20? My system has
It has been discussed. The solution is "hdparm -a 512 /dev/...".
--
Måns Rullgård
mru@users.sf.net
^ permalink raw reply [flat|nested] 6+ messages in thread
* RE: Disk speed differences under 2.6.0
2003-08-01 14:55 ` Måns Rullgård
@ 2003-08-04 14:12 ` Gordon Larsen
0 siblings, 0 replies; 6+ messages in thread
From: Gordon Larsen @ 2003-08-04 14:12 UTC (permalink / raw)
To: Måns Rullgård, linux-kernel
Thank you
...Gord
-----Original Message-----
From: linux-kernel-owner@vger.kernel.org
[mailto:linux-kernel-owner@vger.kernel.org]On Behalf Of Måns Rullgård
Sent: August 1, 2003 8:56 AM
To: linux-kernel@vger.kernel.org
Subject: Re: Disk speed differences under 2.6.0
"Gordon Larsen" <glarsen@alpha.homedns.org> writes:
> My apologies if this has already been discussed - but has anyone noticed
> disk I/O speed differences under 2.6.0 as compared to 2.4.20? My system
has
It has been discussed. The solution is "hdparm -a 512 /dev/...".
--
Måns Rullgård
mru@users.sf.net
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2003-08-04 14:22 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-07-31 21:10 [ANNOUNCE] megaraid 2.00.6 patch for kernels without hostlock Mukker, Atul
2003-07-31 23:14 ` Matthew Wilcox
2003-08-01 5:49 ` Jens Axboe
2003-08-01 13:54 ` Disk speed differences under 2.6.0 Gordon Larsen
2003-08-01 14:55 ` Måns Rullgård
2003-08-04 14:12 ` Gordon Larsen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).