Re: x86_64 ten times slower than i386

2007-11-10 Thread Bo Brantén
On Mon, 5 Nov 2007, Bo Brantén wrote: After I uppgraded the BIOS the mtrr looks like below, and now it works if I boot with mem=4736M so I can use all memory but it still doesn't work without the mem parameter then it will run as slow as before. I noticed that after I uppgraded the BIOS it

Re: x86_64 ten times slower than i386

2007-11-10 Thread Bo Brantén
On Mon, 5 Nov 2007, Bo Brantén wrote: After I uppgraded the BIOS the mtrr looks like below, and now it works if I boot with mem=4736M so I can use all memory but it still doesn't work without the mem parameter then it will run as slow as before. I noticed that after I uppgraded the BIOS it

Re: x86_64 ten times slower than i386

2007-11-07 Thread Jesse Barnes
On Monday, November 05, 2007 4:26 Andi Kleen wrote: > On Mon, Nov 05, 2007 at 08:32:24AM -0800, Ray Lee wrote: > > (Don't trim cc:s.) > > > > On Nov 5, 2007 8:00 AM, Bo Brantén <[EMAIL PROTECTED]> wrote: > > >> Intel Core 2 Quad > > >> and I noticed that the 64-bit versions was at least 10 times >

Re: x86_64 ten times slower than i386

2007-11-07 Thread Jesse Barnes
On Monday, November 05, 2007 4:26 Andi Kleen wrote: On Mon, Nov 05, 2007 at 08:32:24AM -0800, Ray Lee wrote: (Don't trim cc:s.) On Nov 5, 2007 8:00 AM, Bo Brantén [EMAIL PROTECTED] wrote: Intel Core 2 Quad and I noticed that the 64-bit versions was at least 10 times slower than the

Re: x86_64 ten times slower than i386

2007-11-06 Thread Willy Tarreau
On Tue, Nov 06, 2007 at 11:50:13AM -0800, H. Peter Anvin wrote: > Willy Tarreau wrote: > >Just out of curiosity, what would be the problem if the MTRRs covered more > >than the memory size ? For instance, instead of having 512 MB at 4G, why > >not have 1G at 4G ? > > That's fine, *as long as* you

Re: x86_64 ten times slower than i386

2007-11-06 Thread H. Peter Anvin
Willy Tarreau wrote: On Mon, Nov 05, 2007 at 05:19:44PM -0800, H. Peter Anvin wrote: Andi Kleen wrote: Jesse Barnes (cc:d) wrote a patch to address this, I think (x86: trim memory not covered by WB MTRRs), but as far as I can tell it hasn't been merged yet. System is Intel, 4gb of RAM. It

Re: x86_64 ten times slower than i386

2007-11-06 Thread Willy Tarreau
On Mon, Nov 05, 2007 at 05:19:44PM -0800, H. Peter Anvin wrote: > Andi Kleen wrote: > >>Jesse Barnes (cc:d) wrote a patch to address this, I think (x86: trim > >>memory not covered by WB MTRRs), but as far as I can tell it hasn't > >>been merged yet. System is Intel, 4gb of RAM. > > > >It wasn't

Re: x86_64 ten times slower than i386

2007-11-06 Thread Willy Tarreau
On Mon, Nov 05, 2007 at 05:19:44PM -0800, H. Peter Anvin wrote: Andi Kleen wrote: Jesse Barnes (cc:d) wrote a patch to address this, I think (x86: trim memory not covered by WB MTRRs), but as far as I can tell it hasn't been merged yet. System is Intel, 4gb of RAM. It wasn't merged because

Re: x86_64 ten times slower than i386

2007-11-06 Thread H. Peter Anvin
Willy Tarreau wrote: On Mon, Nov 05, 2007 at 05:19:44PM -0800, H. Peter Anvin wrote: Andi Kleen wrote: Jesse Barnes (cc:d) wrote a patch to address this, I think (x86: trim memory not covered by WB MTRRs), but as far as I can tell it hasn't been merged yet. System is Intel, 4gb of RAM. It

Re: x86_64 ten times slower than i386

2007-11-06 Thread Willy Tarreau
On Tue, Nov 06, 2007 at 11:50:13AM -0800, H. Peter Anvin wrote: Willy Tarreau wrote: Just out of curiosity, what would be the problem if the MTRRs covered more than the memory size ? For instance, instead of having 512 MB at 4G, why not have 1G at 4G ? That's fine, *as long as* you don't

Re: x86_64 ten times slower than i386

2007-11-05 Thread H. Peter Anvin
Andi Kleen wrote: Jesse Barnes (cc:d) wrote a patch to address this, I think (x86: trim memory not covered by WB MTRRs), but as far as I can tell it hasn't been merged yet. System is Intel, 4gb of RAM. It wasn't merged because it broke booting on some systems. Besides the memory would be still

Re: x86_64 ten times slower than i386

2007-11-05 Thread Andi Kleen
On Mon, Nov 05, 2007 at 08:32:24AM -0800, Ray Lee wrote: > (Don't trim cc:s.) > > On Nov 5, 2007 8:00 AM, Bo Brantén <[EMAIL PROTECTED]> wrote: > > >> Intel Core 2 Quad > >> and I noticed that the 64-bit versions was at least 10 times slower than > >> the > >> 32-bit versions, > > > > > After

Re: x86_64 ten times slower than i386

2007-11-05 Thread H. Peter Anvin
Bo Brantén wrote: On Mon, 5 Nov 2007, H. Peter Anvin wrote: reg00: base=0x ( 0MB), size=2048MB: write-back, count=1 reg01: base=0x8000 (2048MB), size=1024MB: write-back, count=1 reg02: base=0xc000 (3072MB), size= 256MB: write-back, count=1 reg03: base=0xcf80 (3320MB),

Re: x86_64 ten times slower than i386

2007-11-05 Thread Bo Brantén
On Mon, 5 Nov 2007, H. Peter Anvin wrote: reg00: base=0x ( 0MB), size=2048MB: write-back, count=1 reg01: base=0x8000 (2048MB), size=1024MB: write-back, count=1 reg02: base=0xc000 (3072MB), size= 256MB: write-back, count=1 reg03: base=0xcf80 (3320MB), size= 8MB:

Re: x86_64 ten times slower than i386

2007-11-05 Thread H. Peter Anvin
Bo Brantén wrote: On Sat, 3 Nov 2007, Matt Mackall wrote: This is typically due to a problem with the setup of your MTRRs. Try This is the output from cat /proc/mtrr reg00: base=0x ( 0MB), size=2048MB: write-back, count=1 reg01: base=0x8000 (2048MB), size=1024MB: write-back,

Re: x86_64 ten times slower than i386

2007-11-05 Thread H. Peter Anvin
Bo Brantén wrote: After I uppgraded the BIOS the mtrr looks like below, and now it works if I boot with mem=4736M so I can use all memory but it still doesn't work without the mem parameter then it will run as slow as before. reg00: base=0x ( 0MB), size=2048MB: write-back, count=1

Re: x86_64 ten times slower than i386

2007-11-05 Thread Bo Brantén
After I uppgraded the BIOS the mtrr looks like below, and now it works if I boot with mem=4736M so I can use all memory but it still doesn't work without the mem parameter then it will run as slow as before. reg00: base=0x ( 0MB), size=2048MB: write-back, count=1 reg01:

Re: x86_64 ten times slower than i386

2007-11-05 Thread Bo Brantén
On Sat, 3 Nov 2007, Matt Mackall wrote: This is typically due to a problem with the setup of your MTRRs. Try This is the output from cat /proc/mtrr reg00: base=0x ( 0MB), size=2048MB: write-back, count=1 reg01: base=0x8000 (2048MB), size=1024MB: write-back, count=1 reg02:

Re: x86_64 ten times slower than i386

2007-11-05 Thread Joseph Fannin
On Sat, Nov 03, 2007 at 11:38:24PM +0100, Bo Brantén wrote: > On Sat, 3 Nov 2007, Matt Mackall wrote: > >> This is typically due to a problem with the setup of your MTRRs. Try >> booting with mem=nnnM where nnn is some number smaller than your >> actual amount of memory. > > Thank you for that

Re: x86_64 ten times slower than i386

2007-11-05 Thread Joseph Fannin
On Sat, Nov 03, 2007 at 11:38:24PM +0100, Bo Brantén wrote: On Sat, 3 Nov 2007, Matt Mackall wrote: This is typically due to a problem with the setup of your MTRRs. Try booting with mem=nnnM where nnn is some number smaller than your actual amount of memory. Thank you for that advice, the

Re: x86_64 ten times slower than i386

2007-11-05 Thread Bo Brantén
On Sat, 3 Nov 2007, Matt Mackall wrote: This is typically due to a problem with the setup of your MTRRs. Try This is the output from cat /proc/mtrr reg00: base=0x ( 0MB), size=2048MB: write-back, count=1 reg01: base=0x8000 (2048MB), size=1024MB: write-back, count=1 reg02:

Re: x86_64 ten times slower than i386

2007-11-05 Thread Bo Brantén
After I uppgraded the BIOS the mtrr looks like below, and now it works if I boot with mem=4736M so I can use all memory but it still doesn't work without the mem parameter then it will run as slow as before. reg00: base=0x ( 0MB), size=2048MB: write-back, count=1 reg01:

Re: x86_64 ten times slower than i386

2007-11-05 Thread H. Peter Anvin
Bo Brantén wrote: On Sat, 3 Nov 2007, Matt Mackall wrote: This is typically due to a problem with the setup of your MTRRs. Try This is the output from cat /proc/mtrr reg00: base=0x ( 0MB), size=2048MB: write-back, count=1 reg01: base=0x8000 (2048MB), size=1024MB: write-back,

Re: x86_64 ten times slower than i386

2007-11-05 Thread H. Peter Anvin
Bo Brantén wrote: After I uppgraded the BIOS the mtrr looks like below, and now it works if I boot with mem=4736M so I can use all memory but it still doesn't work without the mem parameter then it will run as slow as before. reg00: base=0x ( 0MB), size=2048MB: write-back, count=1

Re: x86_64 ten times slower than i386

2007-11-05 Thread Bo Brantén
On Mon, 5 Nov 2007, H. Peter Anvin wrote: reg00: base=0x ( 0MB), size=2048MB: write-back, count=1 reg01: base=0x8000 (2048MB), size=1024MB: write-back, count=1 reg02: base=0xc000 (3072MB), size= 256MB: write-back, count=1 reg03: base=0xcf80 (3320MB), size= 8MB:

Re: x86_64 ten times slower than i386

2007-11-05 Thread H. Peter Anvin
Bo Brantén wrote: On Mon, 5 Nov 2007, H. Peter Anvin wrote: reg00: base=0x ( 0MB), size=2048MB: write-back, count=1 reg01: base=0x8000 (2048MB), size=1024MB: write-back, count=1 reg02: base=0xc000 (3072MB), size= 256MB: write-back, count=1 reg03: base=0xcf80 (3320MB),

Re: x86_64 ten times slower than i386

2007-11-05 Thread Andi Kleen
On Mon, Nov 05, 2007 at 08:32:24AM -0800, Ray Lee wrote: (Don't trim cc:s.) On Nov 5, 2007 8:00 AM, Bo Brantén [EMAIL PROTECTED] wrote: Intel Core 2 Quad and I noticed that the 64-bit versions was at least 10 times slower than the 32-bit versions, After I uppgraded the BIOS

Re: x86_64 ten times slower than i386

2007-11-05 Thread H. Peter Anvin
Andi Kleen wrote: Jesse Barnes (cc:d) wrote a patch to address this, I think (x86: trim memory not covered by WB MTRRs), but as far as I can tell it hasn't been merged yet. System is Intel, 4gb of RAM. It wasn't merged because it broke booting on some systems. Besides the memory would be still

Re: x86_64 ten times slower than i386

2007-11-03 Thread H. Peter Anvin
Bo Brantén wrote: On Sat, 3 Nov 2007, Matt Mackall wrote: This is typically due to a problem with the setup of your MTRRs. Try booting with mem=nnnM where nnn is some number smaller than your actual amount of memory. Thank you for that advice, the system has 4GB and if I boot with mem=3072M

Re: x86_64 ten times slower than i386

2007-11-03 Thread Matt Mackall
On Sat, Nov 03, 2007 at 11:38:24PM +0100, Bo Brant?n wrote: > On Sat, 3 Nov 2007, Matt Mackall wrote: > > >This is typically due to a problem with the setup of your MTRRs. Try > >booting with mem=nnnM where nnn is some number smaller than your > >actual amount of memory. > > Thank you for that

Re: x86_64 ten times slower than i386

2007-11-03 Thread Bo Brantén
On Sat, 3 Nov 2007, Matt Mackall wrote: This is typically due to a problem with the setup of your MTRRs. Try booting with mem=nnnM where nnn is some number smaller than your actual amount of memory. Thank you for that advice, the system has 4GB and if I boot with mem=3072M it will run as

Re: x86_64 ten times slower than i386

2007-11-03 Thread Matt Mackall
On Sat, Nov 03, 2007 at 01:31:49PM +0100, Bo Brant?n wrote: > > Hello, > > I tryed different linux distributions on a computer with an Intel Core 2 > Quad and I noticed that the 64-bit versions was at least 10 times slower > than the 32-bit versions, to boot the system took over 20 minutes in

x86_64 ten times slower than i386

2007-11-03 Thread Bo Brantén
Hello, I tryed different linux distributions on a computer with an Intel Core 2 Quad and I noticed that the 64-bit versions was at least 10 times slower than the 32-bit versions, to boot the system took over 20 minutes in 64-bit mode and then even scrolling text at the command prompt felt

x86_64 ten times slower than i386

2007-11-03 Thread Bo Brantén
Hello, I tryed different linux distributions on a computer with an Intel Core 2 Quad and I noticed that the 64-bit versions was at least 10 times slower than the 32-bit versions, to boot the system took over 20 minutes in 64-bit mode and then even scrolling text at the command prompt felt

Re: x86_64 ten times slower than i386

2007-11-03 Thread Matt Mackall
On Sat, Nov 03, 2007 at 01:31:49PM +0100, Bo Brant?n wrote: Hello, I tryed different linux distributions on a computer with an Intel Core 2 Quad and I noticed that the 64-bit versions was at least 10 times slower than the 32-bit versions, to boot the system took over 20 minutes in 64-bit

Re: x86_64 ten times slower than i386

2007-11-03 Thread Bo Brantén
On Sat, 3 Nov 2007, Matt Mackall wrote: This is typically due to a problem with the setup of your MTRRs. Try booting with mem=nnnM where nnn is some number smaller than your actual amount of memory. Thank you for that advice, the system has 4GB and if I boot with mem=3072M it will run as

Re: x86_64 ten times slower than i386

2007-11-03 Thread Matt Mackall
On Sat, Nov 03, 2007 at 11:38:24PM +0100, Bo Brant?n wrote: On Sat, 3 Nov 2007, Matt Mackall wrote: This is typically due to a problem with the setup of your MTRRs. Try booting with mem=nnnM where nnn is some number smaller than your actual amount of memory. Thank you for that advice, the

Re: x86_64 ten times slower than i386

2007-11-03 Thread H. Peter Anvin
Bo Brantén wrote: On Sat, 3 Nov 2007, Matt Mackall wrote: This is typically due to a problem with the setup of your MTRRs. Try booting with mem=nnnM where nnn is some number smaller than your actual amount of memory. Thank you for that advice, the system has 4GB and if I boot with mem=3072M