2002-01-14 01:08:19

by Anton Altaparmakov

[permalink] [raw]
Subject: Linux 2.4.18pre3-ac1-aia21 (IDE patches)

Alan's -ac series is back! To celebrate this I added in the IDE patches and
an NTFS update which dramatically reduces the number of vmalloc()s and have
posted the resulting (tested) patch (to be applied on top of
2.4.18pre3-ac1) at below URL.

http://www-stu.christs.cam.ac.uk/~aia21/linux/patch-2.4.18-pre3-ac1-aia1.bz2
http://www-stu.christs.cam.ac.uk/~aia21/linux/patch-2.4.18-pre3-ac1-aia1.gz


Linux 2.4.18pre3-ac1-aia1

o IDE patch (taskfile, lba-48, ata133, etc) Andre Hendrick
o Configure help entries for above Andre Hendrick, Rob
Radez
o Small IDE cleanups (code beauty only) Pavel Machek, me
o Reduce NTFS vmalloc() use (NTFS 1.1.22) me

Enjoy,

Anton


--
"I've not lost my mind. It's backed up on tape somewhere." - Unknown
--
Anton Altaparmakov <aia21 at cam.ac.uk> (replace at with @)
Linux NTFS Maintainer / WWW: http://linux-ntfs.sf.net/
ICQ: 8561279 / WWW: http://www-stu.christs.cam.ac.uk/~aia21/


2002-01-14 01:41:51

by Alan

[permalink] [raw]
Subject: Re: Linux 2.4.18pre3-ac1-aia21 (IDE patches)

> Alan's -ac series is back! To celebrate this I added in the IDE patches and
> an NTFS update which dramatically reduces the number of vmalloc()s and have
> posted the resulting (tested) patch (to be applied on top of
> 2.4.18pre3-ac1) at below URL.

Andre's IDE patch is in the ac2 cut. I took it out just to make testing easier
in case other people found -ac1 wasnt as reliable as I did 8)

Alan

2002-01-14 01:44:31

by Anton Altaparmakov

[permalink] [raw]
Subject: IDE Patches bring amazing performance gain!!!

As a heads up, Andre Hedrick's (Andre sorry for the misspelling
previously!) IDE patch improved the performance of my 7200rpm ATA100 IBM
IDE hd from 28Mb/s to 38Mb/s as measured by hdparm -t /dev/hda, which is
quite an improvement by anyones standards! Also hitting the disk with a lot
of io maintains low latency and my mp3s aren't dropping out and my X
session maintains interactivity. (-:

Considering I have seen many good reports and ZERO bad reports about the
IDE patches it is really astonishing that the patches are not being applied
to the 2.4.x kernel series... (especially as they were in the -ac series
previously already)

Best regards,

Anton

At 01:07 14/01/02, Anton Altaparmakov wrote:
>Alan's -ac series is back! To celebrate this I added in the IDE patches
>and an NTFS update which dramatically reduces the number of vmalloc()s and
>have posted the resulting (tested) patch (to be applied on top of
>2.4.18pre3-ac1) at below URL.
>
>http://www-stu.christs.cam.ac.uk/~aia21/linux/patch-2.4.18-pre3-ac1-aia1.bz2
>http://www-stu.christs.cam.ac.uk/~aia21/linux/patch-2.4.18-pre3-ac1-aia1.gz
>
>
>Linux 2.4.18pre3-ac1-aia1
>
>o IDE patch (taskfile, lba-48, ata133, etc) Andre Hedrick
>o Configure help entries for above Andre Hedrick, Rob
>Radez
>o Small IDE cleanups (code beauty only) Pavel Machek, me
>o Reduce NTFS vmalloc() use (NTFS 1.1.22) me
>
>Enjoy,
>
>Anton

--
"I've not lost my mind. It's backed up on tape somewhere." - Unknown
--
Anton Altaparmakov <aia21 at cam.ac.uk> (replace at with @)
Linux NTFS Maintainer / WWW: http://linux-ntfs.sf.net/
ICQ: 8561279 / WWW: http://www-stu.christs.cam.ac.uk/~aia21/

2002-01-14 01:50:31

by Erik Andersen

[permalink] [raw]
Subject: Re: Linux 2.4.18pre3-ac1-aia21 (IDE patches)

On Mon Jan 14, 2002 at 01:53:22AM +0000, Alan Cox wrote:
> > Alan's -ac series is back! To celebrate this I added in the IDE patches and
> > an NTFS update which dramatically reduces the number of vmalloc()s and have
> > posted the resulting (tested) patch (to be applied on top of
> > 2.4.18pre3-ac1) at below URL.
>
> Andre's IDE patch is in the ac2 cut. I took it out just to make testing easier
> in case other people found -ac1 wasnt as reliable as I did 8)

Will -ac2 be hitting the mirrors shortly then? BTW, you
mentioned in your earlier email you excluded the low-latency
patches. Mind if I ask which of the many you are using?
mini-ll? full-ll? The sched-O1-H6 patch?

-Erik

--
Erik B. Andersen http://codepoet-consulting.com/
--This message was written using 73% post-consumer electrons--

2002-01-14 01:53:33

by Anton Altaparmakov

[permalink] [raw]
Subject: Re: Linux 2.4.18pre3-ac1-aia21 (IDE patches)

At 01:53 14/01/02, Alan Cox wrote:
> > Alan's -ac series is back! To celebrate this I added in the IDE patches
> and
> > an NTFS update which dramatically reduces the number of vmalloc()s and
> have
> > posted the resulting (tested) patch (to be applied on top of
> > 2.4.18pre3-ac1) at below URL.
>
>Andre's IDE patch is in the ac2 cut. I took it out just to make testing easier
>in case other people found -ac1 wasnt as reliable as I did 8)

That's ok. -ac2 isn't out yet AFAICS... (-;

Do you have the configure help entries in there, too?

btw. -ac1-aia1 is working very well on my desktop here. At least I wasn't
able to break it with anything I threw at it. In fact it is working much
better than before both interactivity wise and io wise. (-8

Anton


--
"I've not lost my mind. It's backed up on tape somewhere." - Unknown
--
Anton Altaparmakov <aia21 at cam.ac.uk> (replace at with @)
Linux NTFS Maintainer / WWW: http://linux-ntfs.sf.net/
ICQ: 8561279 / WWW: http://www-stu.christs.cam.ac.uk/~aia21/

2002-01-14 02:17:44

by Andrew Morton

[permalink] [raw]
Subject: Re: Linux 2.4.18pre3-ac1-aia21 (IDE patches)

Anton Altaparmakov wrote:
>
> Alan's -ac series is back! To celebrate this I added in the IDE patches and
> an NTFS update which dramatically reduces the number of vmalloc()s and have
> posted the resulting (tested) patch (to be applied on top of
> 2.4.18pre3-ac1) at below URL.
>

Is that the NTFS code which produces eighty five quintillion warnings
with the recommended gcc versions? :-)

-

2002-01-14 02:27:24

by Anton Altaparmakov

[permalink] [raw]
Subject: Re: Linux 2.4.18pre3-ac1-aia21 (IDE patches)

At 02:10 14/01/02, Andrew Morton wrote:
>Anton Altaparmakov wrote:
> >
> > Alan's -ac series is back! To celebrate this I added in the IDE patches and
> > an NTFS update which dramatically reduces the number of vmalloc()s and have
> > posted the resulting (tested) patch (to be applied on top of
> > 2.4.18pre3-ac1) at below URL.
> >
>
>Is that the NTFS code which produces eighty five quintillion warnings
>with the recommended gcc versions? :-)

Huh? You are referring to ntfs tng perhaps? No, this is just a small update
to the existing ntfs driver (admittedly taken from ntfs tng but this little
part shouldn't produce any compiler problems AFAIK).

This update makes ntfs use kmalloc instead of vmalloc for <= PAGE_SIZE
allocations and since the majority of the allocations are <= PAGE_SIZE this
is both a performance improvement and a decrease of load on the 128MiB
vmalloc vm area.

There were people who reported problems under load due to failing vmallocs
and concurrent ldt allocation problems. This patch should address those
problems.

Best regards,

Anton


--
"I've not lost my mind. It's backed up on tape somewhere." - Unknown
--
Anton Altaparmakov <aia21 at cam.ac.uk> (replace at with @)
Linux NTFS Maintainer / WWW: http://linux-ntfs.sf.net/
ICQ: 8561279 / WWW: http://www-stu.christs.cam.ac.uk/~aia21/

2002-01-14 04:59:03

by Andre Hedrick

[permalink] [raw]
Subject: Re: IDE Patches bring amazing performance gain!!!


There is one outstanding bad report in private. This report effects the
Promise PDC20262 Ultra66 host only. I tested it w/ a 1.13 BIOS and it
worked. I suggested the individual upgrade to the lastest version from
Promise. One should note this is a 48-bit addressing exception, for old
hardware.

Andre Hedrick
Linux Disk Certification Project Linux ATA Development

On Mon, 14 Jan 2002, Anton Altaparmakov wrote:

> As a heads up, Andre Hedrick's (Andre sorry for the misspelling
> previously!) IDE patch improved the performance of my 7200rpm ATA100 IBM
> IDE hd from 28Mb/s to 38Mb/s as measured by hdparm -t /dev/hda, which is
> quite an improvement by anyones standards! Also hitting the disk with a lot
> of io maintains low latency and my mp3s aren't dropping out and my X
> session maintains interactivity. (-:
>
> Considering I have seen many good reports and ZERO bad reports about the
> IDE patches it is really astonishing that the patches are not being applied
> to the 2.4.x kernel series... (especially as they were in the -ac series
> previously already)
>
> Best regards,
>
> Anton
>
> At 01:07 14/01/02, Anton Altaparmakov wrote:
> >Alan's -ac series is back! To celebrate this I added in the IDE patches
> >and an NTFS update which dramatically reduces the number of vmalloc()s and
> >have posted the resulting (tested) patch (to be applied on top of
> >2.4.18pre3-ac1) at below URL.
> >
> >http://www-stu.christs.cam.ac.uk/~aia21/linux/patch-2.4.18-pre3-ac1-aia1.bz2
> >http://www-stu.christs.cam.ac.uk/~aia21/linux/patch-2.4.18-pre3-ac1-aia1.gz
> >
> >
> >Linux 2.4.18pre3-ac1-aia1
> >
> >o IDE patch (taskfile, lba-48, ata133, etc) Andre Hedrick
> >o Configure help entries for above Andre Hedrick, Rob
> >Radez
> >o Small IDE cleanups (code beauty only) Pavel Machek, me
> >o Reduce NTFS vmalloc() use (NTFS 1.1.22) me
> >
> >Enjoy,
> >
> >Anton
>
> --
> "I've not lost my mind. It's backed up on tape somewhere." - Unknown
> --
> Anton Altaparmakov <aia21 at cam.ac.uk> (replace at with @)
> Linux NTFS Maintainer / WWW: http://linux-ntfs.sf.net/
> ICQ: 8561279 / WWW: http://www-stu.christs.cam.ac.uk/~aia21/
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to [email protected]
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>


2002-01-14 09:23:42

by Alan

[permalink] [raw]
Subject: Re: Linux 2.4.18pre3-ac1-aia21 (IDE patches)

> >Andre's IDE patch is in the ac2 cut. I took it out just to make testing easier
> >in case other people found -ac1 wasnt as reliable as I did 8)
>
> That's ok. -ac2 isn't out yet AFAICS... (-;
>
> Do you have the configure help entries in there, too?

I don't - care to send me that patch ?

Alan

2002-01-14 09:24:32

by Alan

[permalink] [raw]
Subject: Re: Linux 2.4.18pre3-ac1-aia21 (IDE patches)

> Will -ac2 be hitting the mirrors shortly then? BTW, you
> mentioned in your earlier email you excluded the low-latency
> patches. Mind if I ask which of the many you are using?
> mini-ll? full-ll? The sched-O1-H6 patch?

I've tried all sorts of variants, including mini-ll, ll and pre-empt

2002-01-14 09:46:14

by Anton Altaparmakov

[permalink] [raw]
Subject: Re: Linux 2.4.18pre3-ac1-aia21 (IDE patches)

At 09:35 14/01/02, Alan Cox wrote:
> > >Andre's IDE patch is in the ac2 cut. I took it out just to make
> testing easier
> > >in case other people found -ac1 wasnt as reliable as I did 8)
> >
> > That's ok. -ac2 isn't out yet AFAICS... (-;
> >
> > Do you have the configure help entries in there, too?
>
>I don't - care to send me that patch ?

Sure. Will separate out and email you tonight.

Anton


--
"I've not lost my mind. It's backed up on tape somewhere." - Unknown
--
Anton Altaparmakov <aia21 at cam.ac.uk> (replace at with @)
Linux NTFS Maintainer / WWW: http://linux-ntfs.sf.net/
ICQ: 8561279 / WWW: http://www-stu.christs.cam.ac.uk/~aia21/

2002-01-14 14:24:25

by Matthias Andree

[permalink] [raw]
Subject: Re: IDE Patches bring amazing performance gain!!!

On Mon, 14 Jan 2002, Anton Altaparmakov wrote:

> As a heads up, Andre Hedrick's (Andre sorry for the misspelling
> previously!) IDE patch improved the performance of my 7200rpm ATA100 IBM
> IDE hd from 28Mb/s to 38Mb/s as measured by hdparm -t /dev/hda, which is
> quite an improvement by anyones standards! Also hitting the disk with a lot
> of io maintains low latency and my mp3s aren't dropping out and my X
> session maintains interactivity. (-:

Which, BTW, is the margin that the German c't computer magazine also
figured against those DTLA3070xx drives.

Let's take Andre's patch for 2.4.18-pre4 already, it's been solid here.
No reason do delay it.

Also, it's high time Linux gets tagged queueing for ATA, FreeBSD has
been there for ages, just installed 4.4-RELEASE on a current box and
whoooooo hw.ata.tags=1 in /boot/loader.conf.local rocks with hw.ata.wc=0
(write cache off). I'll see if I find the time to do bonnie benchmarks
soon.

2002-01-14 15:05:09

by J.A. Magallon

[permalink] [raw]
Subject: Re: IDE Patches bring amazing performance gain!!!


On 20020114 Andre Hedrick wrote:
>
>There is one outstanding bad report in private. This report effects the
>Promise PDC20262 Ultra66 host only. I tested it w/ a 1.13 BIOS and it
>worked. I suggested the individual upgrade to the lastest version from
>Promise. One should note this is a 48-bit addressing exception, for old
>hardware.
>

Are you planning any update soon ?
If not, could you post a new revision with Config.help parts in linuxcert ?
If not, I will just take from aia1...

--
J.A. Magallon # Let the source be with you...
mailto:[email protected]
Mandrake Linux release 8.2 (Cooker) for i586
Linux werewolf 2.4.18-pre3-beo #5 SMP Sun Jan 13 02:14:04 CET 2002 i686