Re: CPUTYPE in general - was Re: Which CPUTYPE for a dualcore Xeon on AMD64

2007-06-25 Thread Martin Turgeon

Mike Meyer a écrit :

In <[EMAIL PROTECTED]>, Roman Divacky <[EMAIL PROTECTED]> typed:
  

you should know what cpu you bought, or just use cpuid (found in ports)
and determine what cpu you have.



Knowing what CPU you bought doesn't help a lot for the case asked
about of "nocona" vs. "prescott". Those are the names of P4 and Xeon
cores, not CPUs - and not the last cores used in either line. cpuid
will tell you what features your CPU supports, but not the name of the
core. So it only helps if you know what you're looking for. P4 and
Xeon are just marketing names, and the features available vary quite a
bit across the lines. Even knowing the core names doesn't help, as
some prescott cored P4s have all the gcc "nocona" features.

Assuming the gcc man page is correct, use cpuid to check the feature
sets of your CPU. If you don't have SSE2, then you should be using
something prior to pentium 4. If you have SSE2 but not SSE3, then you
want pentium-m, pentium4 or pentium4m. If you have SSE3, then you
should be using either nocona or prescott. If you have 64 bit support,
you want nocona, otherwise prescott.

For the record, I believe the nocona cores are:
pentium 4/some prescott, prescott 2m, cedar mill
pentium D/all
core 2 duo/all
All xeons with sse3 except the sossaman cored Xeon LV.

The prescott cores are:
pentium 4/some prescott
xeon lv (sossaman core)
core solo
core duo 


  

Thanks a lot for the precision, I will use nocona for my dual core Xeon.

Martin
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Which CPUTYPE for a dualcore Xeon on AMD64

2007-06-24 Thread Martin Turgeon

Hi,

I recently installed AMD64 6.2 Release on 2 PowerEdge servers, both with
dual core Xeon (3070 and 5110). I noticed when I was updating the
sources that it was compiling as an Athlonxp by default. I was wondering
if I should change the CPUTYPE in make.conf to something else. I read at
some places that it is not recommended because it could cause problems
but I thought it would be interesting to start the debate here. Please
note that I would prefer not to go with the -STABLE or -CURRENT branch
because these a going to be essential productions servers.

Thank you for your opinions,

Martin

___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: i386 with PAE or AMD64 on PowerEdge with 4G RAM

2007-06-19 Thread Martin Turgeon

Thank you all for your advices, I will take a try with AMD64.

I'm always impressed by the support on the FreeBSD mailinglist, continue 
your good work.


Martin


Stefan Lambrev a écrit :

Hi,

Martin Turgeon wrote:

Good afternoon,

I just receive 2 PowerEdge servers (a 1950 and a 860) both with 4G of 
RAM. I installed FreeBSD 6.2 Release i386 on both of them. 
Unfortunately, only 3,5G is recognized on the 860 and 3,3G on the 1950.

dmesg on 860:
real memory = 3757834240 (3583 MB)
avail memory = 3678318592 (3507 MB)

I am facing a difficult decision. Should I use i386 with PAE enabled 
in the kernel (I read a lot of warnings using it) or should I go with 
AMD64? Which branch should I follow?


These servers will be front-end/back-end MySQL(with replication) and 
Apache servers with BIND, Postfix, Dovecot, PF.
I have NO problems with FreeBSD AMD64, at least not more then I have 
with i386 versions.


I do not see a problem to run MySQL, apache, BIND,Postfix and PF - as 
I use them myself for near 2 years under freebsd amd64.


I even can say that at some point amd64 becomes more stable (for me) 
then i386.
The major problem (again for me) is that there is no way to connect 
64bit apache under freebsd to Oracle DB.


Saying that I'm quite happy using FreBSD amd64 (even for 
desktop/laptop machines) and knowing how broken is PAE .. just go for 
amd64.




There is the detailled configuration of the servers:
PowerEdge 1950
Xeon 5110
4G RAM
PERC 5 Raid controller (mfi)
Dual Broadcom 5708 (bce)

PowerEdge 860
Xeon 3070
4G RAM
LSI Logic Raid controller (mpt)
Dual Broadcom 5750 (bge)
If you still consider PAE check very carefully that all your drivers 
work OK with PAE kernel!


Thanks a lot for your advice,

Martin
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to 
"[EMAIL PROTECTED]"



___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: i386 with PAE or AMD64 on PowerEdge with 4G RAM

2007-06-18 Thread Martin Turgeon

2007/6/18, Jeremy Chadwick <[EMAIL PROTECTED]>:


On Mon, Jun 18, 2007 at 01:03:44PM -0400, Martin Turgeon wrote:
>  I just receive 2 PowerEdge servers (a 1950 and a 860) both with 4G of
RAM. I
>  installed FreeBSD 6.2 Release i386 on both of them. Unfortunately, only
3,5G
>  is recognized on the 860 and 3,3G on the 1950.
>  dmesg on 860:
>  real memory  = 3757834240 (3583 MB)
>  avail memory = 3678318592 (3507 MB)
>
>  I am facing a difficult decision. Should I use i386 with PAE enabled in
the
>  kernel (I read a lot of warnings using it) or should I go with AMD64?
Which
>  branch should I follow?

Based on what I've read from some of the porters and miscellaneous
others, generally-speaking there's too many issues with amd64 (in the
sense of 32-bit vs. 64-bit compatibility -- not the fault of the kernel
or otherwise) to consider it worth switching to.

I personally don't run 64-bit OSes because most developers still use
32-bit machines and don't have a way to develop/test in 64-bit
environments.

That said, I'd recommend you stick with i386 + PAE, simply for
guaranteed application compatibility.



My setup is fairly standard (as I described), should I expect problem with
64 bit version of these programs?


You'll lose the amount of RAM you're seeing due to PAE addressing for

PCI address space.  I can dig you up a usage map (broken down by how
much is taken up by each portion; PCI, ACPI, etc.) if you want one.
It's for SuperMicro systems, but the general idea applies to most
everything.



I'm not sure to understand what you mean by that. Are you saying that PAE
will eat the 500M that should be available?

--

| Jeremy Chadwickjdc at parodius.com |
| Parodius Networking   http://www.parodius.com/ |
| UNIX Systems Administrator  Mountain View, CA, USA |
| Making life hard for others since 1977.  PGP: 4BD6C0CB |



___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


i386 with PAE or AMD64 on PowerEdge with 4G RAM

2007-06-18 Thread Martin Turgeon

Good afternoon,

I just receive 2 PowerEdge servers (a 1950 and a 860) both with 4G of 
RAM. I installed FreeBSD 6.2 Release i386 on both of them. 
Unfortunately, only 3,5G is recognized on the 860 and 3,3G on the 1950.

dmesg on 860:
real memory  = 3757834240 (3583 MB)
avail memory = 3678318592 (3507 MB)

I am facing a difficult decision. Should I use i386 with PAE enabled in 
the kernel (I read a lot of warnings using it) or should I go with 
AMD64? Which branch should I follow?


These servers will be front-end/back-end MySQL(with replication) and 
Apache servers with BIND, Postfix, Dovecot, PF.


There is the detailled configuration of the servers:
PowerEdge 1950
Xeon 5110
4G RAM
PERC 5 Raid controller (mfi)
Dual Broadcom 5708 (bce)

PowerEdge 860
Xeon 3070
4G RAM
LSI Logic Raid controller (mpt)
Dual Broadcom 5750 (bge)

Thanks a lot for your advice,

Martin
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"