* SuperPage patch for RedHat 7.2/Alpha (Re: Linux Super Page presentation in USA)
[not found] <20020919182244.4323C6F61@tes-mail.jpl.nasa.gov>
@ 2002-10-18 0:23 ` Naohiko Shimizu
2002-10-18 17:55 ` George France
0 siblings, 1 reply; 6+ messages in thread
From: Naohiko Shimizu @ 2002-10-18 0:23 UTC (permalink / raw)
To: Eugene Chu, axp-list
Hello Eugene and all.
Yesterday I had a chance to use ES45(4 proc.) in HP Japan for
testing SMP with Super Page.
For this test I made a quick patch for RedHat 7.2/Alpha.
(It does not support vm_align option nor i386/sparc64)
It worked fine at least for my test. IIRC, I did:
1) make a copy of RedHat 7.2 kernel source tree.
2) in the copied directory, copy the RedHat configuration to '.config'
The configuration file is in the configs directory.
cp configs/kernel-2.4.9-alpha-smp.config .config
3) patch the kernel. I uploaded the patch file in
http://shimizu-lab.dt.u-tokai.ac.jp/lsp.html
4) make menuconfig and turn on Super Page Support
5) make dep; make boot modules modules_install
6) mkinitrd initrd-2.4.9-superpage.img 2.4.9-superpage
7) copy kernel and System.map
cp arch/alpha/boot/vmlinux.gz /boot/vmlinuz-2.4.9-superpage
cp System.map /boot/System.map-2.4.9-superpage
8) Rewrite /etc/aboot.conf
9) reboot the system
The transw benchmark on my web runs about 3 to 4 times faster on ES45
with superpage.
I ran SPEC benchmarks but it did not finished until I leave HP Japan.
The staff of HP will send me the result of SPEC benchmarks later.
I hope you will enjoy the super page.
Regards,
--
Naohiko Shimizu
Dept. Communications Engineering/Tokai University
1117 Kitakaname Hiratsuka 259-1292 Japan
TEL.+81-463-58-1211(ext. 4084) FAX.+81-463-58-8320
http://shimizu-lab.dt.u-tokai.ac.jp/
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: SuperPage patch for RedHat 7.2/Alpha (Re: Linux Super Page presentation in USA)
2002-10-18 0:23 ` SuperPage patch for RedHat 7.2/Alpha (Re: Linux Super Page presentation in USA) Naohiko Shimizu
@ 2002-10-18 17:55 ` George France
2002-10-19 2:10 ` Chris Price
0 siblings, 1 reply; 6+ messages in thread
From: George France @ 2002-10-18 17:55 UTC (permalink / raw)
To: axp-list, Naohiko Shimizu
Hello Naohiko,
Well Done.
Thank You.
Best Regards,
--George
On Thursday 17 October 2002 20:23, Naohiko Shimizu wrote:
> Hello Eugene and all.
>
> Yesterday I had a chance to use ES45(4 proc.) in HP Japan for
> testing SMP with Super Page.
> For this test I made a quick patch for RedHat 7.2/Alpha.
> (It does not support vm_align option nor i386/sparc64)
>
> It worked fine at least for my test. IIRC, I did:
>
> 1) make a copy of RedHat 7.2 kernel source tree.
> 2) in the copied directory, copy the RedHat configuration to '.config'
> The configuration file is in the configs directory.
> cp configs/kernel-2.4.9-alpha-smp.config .config
> 3) patch the kernel. I uploaded the patch file in
> http://shimizu-lab.dt.u-tokai.ac.jp/lsp.html
> 4) make menuconfig and turn on Super Page Support
> 5) make dep; make boot modules modules_install
> 6) mkinitrd initrd-2.4.9-superpage.img 2.4.9-superpage
> 7) copy kernel and System.map
> cp arch/alpha/boot/vmlinux.gz /boot/vmlinuz-2.4.9-superpage
> cp System.map /boot/System.map-2.4.9-superpage
> 8) Rewrite /etc/aboot.conf
> 9) reboot the system
>
> The transw benchmark on my web runs about 3 to 4 times faster on ES45
> with superpage.
> I ran SPEC benchmarks but it did not finished until I leave HP Japan.
> The staff of HP will send me the result of SPEC benchmarks later.
>
> I hope you will enjoy the super page.
>
> Regards,
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: SuperPage patch for RedHat 7.2/Alpha (Re: Linux Super Page presentation in USA)
2002-10-18 17:55 ` George France
@ 2002-10-19 2:10 ` Chris Price
2002-10-19 3:12 ` George France
0 siblings, 1 reply; 6+ messages in thread
From: Chris Price @ 2002-10-19 2:10 UTC (permalink / raw)
To: axp-list
I've seen Naohiko's posts before, but still don't quite
understand.
I have a single processor ev56 PWS433a system; will I see
potential performance improvements with the SuperPage patch?
Sorry if its a dumb question, but most of the discussion I
have read has concerned itself with multi-processor systems.
Cheers
Chris
George France wrote:
>
> Hello Naohiko,
>
> Well Done.
>
> Thank You.
>
> Best Regards,
>
> --George
>
> On Thursday 17 October 2002 20:23, Naohiko Shimizu wrote:
> > Hello Eugene and all.
> >
> > Yesterday I had a chance to use ES45(4 proc.) in HP Japan for
> > testing SMP with Super Page.
> > For this test I made a quick patch for RedHat 7.2/Alpha.
> > (It does not support vm_align option nor i386/sparc64)
> >
> > It worked fine at least for my test. IIRC, I did:
> >
> > 1) make a copy of RedHat 7.2 kernel source tree.
> > 2) in the copied directory, copy the RedHat configuration to '.config'
> > The configuration file is in the configs directory.
> > cp configs/kernel-2.4.9-alpha-smp.config .config
> > 3) patch the kernel. I uploaded the patch file in
> > http://shimizu-lab.dt.u-tokai.ac.jp/lsp.html
> > 4) make menuconfig and turn on Super Page Support
> > 5) make dep; make boot modules modules_install
> > 6) mkinitrd initrd-2.4.9-superpage.img 2.4.9-superpage
> > 7) copy kernel and System.map
> > cp arch/alpha/boot/vmlinux.gz /boot/vmlinuz-2.4.9-superpage
> > cp System.map /boot/System.map-2.4.9-superpage
> > 8) Rewrite /etc/aboot.conf
> > 9) reboot the system
> >
> > The transw benchmark on my web runs about 3 to 4 times faster on ES45
> > with superpage.
> > I ran SPEC benchmarks but it did not finished until I leave HP Japan.
> > The staff of HP will send me the result of SPEC benchmarks later.
> >
> > I hope you will enjoy the super page.
> >
> > Regards,
>
> _______________________________________________
> Axp-list mailing list
> Axp-list@redhat.com
> https://listman.redhat.com/mailman/listinfo/axp-list
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: SuperPage patch for RedHat 7.2/Alpha (Re: Linux Super Page presentation in USA)
2002-10-19 2:10 ` Chris Price
@ 2002-10-19 3:12 ` George France
2002-10-19 4:10 ` Ted Goodridge
0 siblings, 1 reply; 6+ messages in thread
From: George France @ 2002-10-19 3:12 UTC (permalink / raw)
To: axp-list, Chris Price
Hello Chris,
yes you will see a permfomance improvement with any application
that has translation buffer misses on your single processor system.
I hope this helps.
--George
On Friday 18 October 2002 22:10, Chris Price wrote:
> I've seen Naohiko's posts before, but still don't quite
> understand.
>
> I have a single processor ev56 PWS433a system; will I see
> potential performance improvements with the SuperPage patch?
>
> Sorry if its a dumb question, but most of the discussion I
> have read has concerned itself with multi-processor systems.
>
> Cheers
>
> Chris
>
> George France wrote:
> > Hello Naohiko,
> >
> > Well Done.
> >
> > Thank You.
> >
> > Best Regards,
> >
> > --George
> >
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: SuperPage patch for RedHat 7.2/Alpha (Re: Linux Super Page presentation in USA)
2002-10-19 3:12 ` George France
@ 2002-10-19 4:10 ` Ted Goodridge
2002-10-19 6:11 ` Naohiko Shimizu
0 siblings, 1 reply; 6+ messages in thread
From: Ted Goodridge @ 2002-10-19 4:10 UTC (permalink / raw)
To: axp-list
Not to appear completely clueless, but how do I apply this to my source tree?
I have the 2.4.9-37 (or whatever the update is for redhat axp 7.2) installed.
Ted
On Friday 18 October 2002 10:12 pm, George France wrote:
> Hello Chris,
>
> yes you will see a permfomance improvement with any application
> that has translation buffer misses on your single processor system.
>
> I hope this helps.
>
> --George
>
> On Friday 18 October 2002 22:10, Chris Price wrote:
> > I've seen Naohiko's posts before, but still don't quite
> > understand.
> >
> > I have a single processor ev56 PWS433a system; will I see
> > potential performance improvements with the SuperPage patch?
> >
> > Sorry if its a dumb question, but most of the discussion I
> > have read has concerned itself with multi-processor systems.
> >
> > Cheers
> >
> > Chris
> >
> > George France wrote:
> > > Hello Naohiko,
> > >
> > > Well Done.
> > >
> > > Thank You.
> > >
> > > Best Regards,
> > >
> > > --George
>
> _______________________________________________
> Axp-list mailing list
> Axp-list@redhat.com
> https://listman.redhat.com/mailman/listinfo/axp-list
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: SuperPage patch for RedHat 7.2/Alpha (Re: Linux Super Page presentation in USA)
2002-10-19 4:10 ` Ted Goodridge
@ 2002-10-19 6:11 ` Naohiko Shimizu
0 siblings, 0 replies; 6+ messages in thread
From: Naohiko Shimizu @ 2002-10-19 6:11 UTC (permalink / raw)
To: axp-list
Hi Ted,
I recommend you to copy your source tree to make a new kernel with superpage.
It depends on the environment, but following step may work on many redhat.
Assume you have a copy of the patch on my web at home directory.
cd /usr/src
tar cvf - linux-2.4 | (cd ~; tar xf -)
cd
cd linux-2.4
patch -p1 < ../super_page-2.4.9_redhat72_alpha.patch
After that you can configure the kernel as I wrote.
Be sure that you must turn on Super Page Support check box
in the general settings.
Hi Cris, thank you George,
Super Page will extend the virtual to real mapping capability
upto 4MB per TLB entry (8K, 64K, 512K, 4MB will be selected depend on
the requests of your program). EV5 series processor has 64 entries
of data tlb, then you can map upto 256MB of virtual address without TLB misses.
Basically multiple processors is not relevant to the Super Page.
The reason why I tested SMP in HP Japan was I must confirm that
it works correctly on SMP. I had some report on SMP but I wanted
to test by myself.
If the dynamic working set of your application is under 512KB,
Super Page will not help you.
The matrix transpose benchmark is one of a ill-behaviour
application for conventional operating systems.
It misses TLB in every two load operations.
If a TLB miss occures, the memory latency will be very large.
The performance improvement on low memory performance processor
will not show dramatic performance improvement.
I guess that your EV56 may have only about 50 to 100% improvement
on the matrix transpose.
Some Pentium-4 machines marked upto 6 times improvement and
EV6 marked upto 4 times improvement. Then I hope it will
help even EV7 because EV7 may have very good memory performance.
Regards,
On Fri, 18 Oct 2002 23:10:18 -0500
Ted Goodridge <tedgoodridgejr@acm.org> wrote:
> Not to appear completely clueless, but how do I apply this to my source tree?
> I have the 2.4.9-37 (or whatever the update is for redhat axp 7.2) installed.
>
> Ted
>
> On Friday 18 October 2002 10:12 pm, George France wrote:
> > Hello Chris,
> >
> > yes you will see a permfomance improvement with any application
> > that has translation buffer misses on your single processor system.
> >
> > I hope this helps.
> >
> > --George
> >
> > On Friday 18 October 2002 22:10, Chris Price wrote:
> > > I've seen Naohiko's posts before, but still don't quite
> > > understand.
> > >
> > > I have a single processor ev56 PWS433a system; will I see
> > > potential performance improvements with the SuperPage patch?
> > >
> > > Sorry if its a dumb question, but most of the discussion I
> > > have read has concerned itself with multi-processor systems.
> > >
> > > Cheers
> > >
> > > Chris
> > >
> > > George France wrote:
> > > > Hello Naohiko,
> > > >
> > > > Well Done.
> > > >
> > > > Thank You.
> > > >
> > > > Best Regards,
> > > >
> > > > --George
> >
> > _______________________________________________
> > Axp-list mailing list
> > Axp-list@redhat.com
> > https://listman.redhat.com/mailman/listinfo/axp-list
>
>
>
> _______________________________________________
> Axp-list mailing list
> Axp-list@redhat.com
> https://listman.redhat.com/mailman/listinfo/axp-list
--
Naohiko Shimizu
Dept. Communications Engineering/Tokai University
1117 Kitakaname Hiratsuka 259-1292 Japan
TEL.+81-463-58-1211(ext. 4084) FAX.+81-463-58-8320
http://shimizu-lab.dt.u-tokai.ac.jp/
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2002-10-19 6:11 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20020919182244.4323C6F61@tes-mail.jpl.nasa.gov>
2002-10-18 0:23 ` SuperPage patch for RedHat 7.2/Alpha (Re: Linux Super Page presentation in USA) Naohiko Shimizu
2002-10-18 17:55 ` George France
2002-10-19 2:10 ` Chris Price
2002-10-19 3:12 ` George France
2002-10-19 4:10 ` Ted Goodridge
2002-10-19 6:11 ` Naohiko Shimizu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox