Re: [FUG-BR] freebsd + $GB de memória

2006-10-19 Por tôpico Nilson Debatin
Em Qui, 2006-10-19 às 15:19 -0200, Elton Ramos Carvalho escreveu:
 Boa tarde,
 
 Gostaria de tirar uma dúvida com vocês.
 Tenho um servidor com 4GB de memória, eu tenho que recompilar o kernel 
 com suporte PAE para ter acesso a estes 4GB?


Não precisa, PAE é uma extensão para endereçamento em 48 bits que
consegue endereçar até 64GB de RAM, você só precisa habilitá-lo se
você tiver MAIS que 4GB, seu processador NAO SER NEM ESTAR rodando
um SO de 64 bits, e é claro suportar a extensão PAE.

Mais detalhes, vide man pae.

[]s
Nilson


-
Histórico: http://www.fug.com.br/historico/html/freebsd/
Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd


Re: [FUG-BR] freebsd + $GB de memória

2006-10-19 Por tôpico Elton Ramos Carvalho
Nilson Debatin wrote:
 Em Qui, 2006-10-19 às 15:19 -0200, Elton Ramos Carvalho escreveu:
   
 Boa tarde,

 Gostaria de tirar uma dúvida com vocês.
 Tenho um servidor com 4GB de memória, eu tenho que recompilar o kernel 
 com suporte PAE para ter acesso a estes 4GB?
 


 Não precisa, PAE é uma extensão para endereçamento em 48 bits que
 consegue endereçar até 64GB de RAM, você só precisa habilitá-lo se
 você tiver MAIS que 4GB, seu processador NAO SER NEM ESTAR rodando
 um SO de 64 bits, e é claro suportar a extensão PAE.

 Mais detalhes, vide man pae.

 []s
 Nilson


 -
 Histórico: http://www.fug.com.br/historico/html/freebsd/
 Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd


   
Obrigado pela resposta Nilson.
É que meu servidor parece não reconhecer os 4GB. conforme sysctl -a | 
grep Mem


Virtual Memory: (Total: 590K, Active 158708K)
Real Memory: (Total: 128152K Active 69784K)
Shared Virtual Memory: (Total: 20928K Active: 11992K)
Shared Real Memory: (Total: 14480K Active: 8740K)

E no handbook tem o seguinte

*Note:* The PAE support in FreeBSD is only available for Intel IA-32 
processors. It should also be noted, that the PAE support in FreeBSD has 
not received wide testing, and should be considered beta quality 
compared to other stable features of FreeBSD.

Estou confuso.

-
Histórico: http://www.fug.com.br/historico/html/freebsd/
Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd


Re: [FUG-BR] freebsd + $GB de memória

2006-10-19 Por tôpico Nilson Debatin
Em Qui, 2006-10-19 às 15:35 -0200, Elton Ramos Carvalho escreveu:

 Virtual Memory: (Total: 590K, Active 158708K)
 Real Memory: (Total: 128152K Active 69784K)
 Shared Virtual Memory: (Total: 20928K Active: 11992K)
 Shared Real Memory: (Total: 14480K Active: 8740K)

É, tá estranho para uma maquina de 4GB. Você pode
dar o comando dmesg para ver logo no início qual foi
a detecção do total de memoria da maquina.
Tem também um programinha que eu gosto muito pra ver
os consumos de memoria, o muse. (/usr/ports/sysutils/muse)

[]s
Nilson


-
Histórico: http://www.fug.com.br/historico/html/freebsd/
Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd


Re: [FUG-BR] freebsd + $GB de memória

2006-10-19 Por tôpico Celso Viana
Em 19/10/06, Elton Ramos Carvalho[EMAIL PROTECTED] escreveu:
 Nilson Debatin wrote:
  Em Qui, 2006-10-19 às 15:19 -0200, Elton Ramos Carvalho escreveu:
 
  Boa tarde,
 
  Gostaria de tirar uma dúvida com vocês.
  Tenho um servidor com 4GB de memória, eu tenho que recompilar o kernel
  com suporte PAE para ter acesso a estes 4GB?
 
 
 
  Não precisa, PAE é uma extensão para endereçamento em 48 bits que
  consegue endereçar até 64GB de RAM, você só precisa habilitá-lo se
  você tiver MAIS que 4GB, seu processador NAO SER NEM ESTAR rodando
  um SO de 64 bits, e é claro suportar a extensão PAE.
 
  Mais detalhes, vide man pae.
 
  []s
  Nilson
 
 
  -
  Histórico: http://www.fug.com.br/historico/html/freebsd/
  Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd
 
 
 
 Obrigado pela resposta Nilson.
 É que meu servidor parece não reconhecer os 4GB. conforme sysctl -a |
 grep Mem


 Virtual Memory: (Total: 590K, Active 158708K)
 Real Memory: (Total: 128152K Active 69784K)
 Shared Virtual Memory: (Total: 20928K Active: 11992K)
 Shared Real Memory: (Total: 14480K Active: 8740K)

 E no handbook tem o seguinte

 *Note:* The PAE support in FreeBSD is only available for Intel IA-32
 processors. It should also be noted, that the PAE support in FreeBSD has
 not received wide testing, and should be considered beta quality
 compared to other stable features of FreeBSD.

 Estou confuso.

 -
 Histórico: http://www.fug.com.br/historico/html/freebsd/
 Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd


Qual é o retorno de ...

dmesg |grep real

-- 
Celso Vianna
BSD User: 51318
http://www.bsdcounter.org

63 8404-8559
Palmas/TO
-
Histórico: http://www.fug.com.br/historico/html/freebsd/
Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd


Re: [FUG-BR] freebsd + $GB de memória

2006-10-19 Por tôpico Elton Ramos Carvalho
Celso Viana wrote:
 Em 19/10/06, Elton Ramos Carvalho[EMAIL PROTECTED] escreveu:
   
 Nilson Debatin wrote:
 
 Em Qui, 2006-10-19 às 15:19 -0200, Elton Ramos Carvalho escreveu:

   
 Boa tarde,

 Gostaria de tirar uma dúvida com vocês.
 Tenho um servidor com 4GB de memória, eu tenho que recompilar o kernel
 com suporte PAE para ter acesso a estes 4GB?

 
 Não precisa, PAE é uma extensão para endereçamento em 48 bits que
 consegue endereçar até 64GB de RAM, você só precisa habilitá-lo se
 você tiver MAIS que 4GB, seu processador NAO SER NEM ESTAR rodando
 um SO de 64 bits, e é claro suportar a extensão PAE.

 Mais detalhes, vide man pae.

 []s
 Nilson


 -
 Histórico: http://www.fug.com.br/historico/html/freebsd/
 Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd



   
 Obrigado pela resposta Nilson.
 É que meu servidor parece não reconhecer os 4GB. conforme sysctl -a |
 grep Mem


 Virtual Memory: (Total: 590K, Active 158708K)
 Real Memory: (Total: 128152K Active 69784K)
 Shared Virtual Memory: (Total: 20928K Active: 11992K)
 Shared Real Memory: (Total: 14480K Active: 8740K)

 E no handbook tem o seguinte

 *Note:* The PAE support in FreeBSD is only available for Intel IA-32
 processors. It should also be noted, that the PAE support in FreeBSD has
 not received wide testing, and should be considered beta quality
 compared to other stable features of FreeBSD.

 Estou confuso.

 -
 Histórico: http://www.fug.com.br/historico/html/freebsd/
 Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd

 

 Qual é o retorno de ...

 dmesg |grep real

   
Celso,

Retorna o seguitne

real memory  = 3220963328 (3071 MB)

com o PAE habilitado retorna

real memory  = 5368709120 (5120 MB)


Elton

-
Histórico: http://www.fug.com.br/historico/html/freebsd/
Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd


Re: [FUG-BR] freebsd + $GB de memória

2006-10-19 Por tôpico Alex Moura
On 10/19/06, Celso Viana [EMAIL PROTECTED] wrote:

 Qual é o retorno de ...

 dmesg |grep real

Aproveitando o assunto, tenho um caso parecido com um Dell 2850 / Dual
Xeon 4GB RAM. Não tive muito tempo pra analisar o caso e tentei rodar
um kernel compilado com a config. /sys/i386/conf/PAE default e não
surtiu o efeito desejado. a config. /sys/i386/conf/SMP.

$  egrep '(real|CPU:|CPUs)' /var/run/dmesg.boot  echo  /   \
  sysctl -a | grep Memory\:  echo  /   \
  uname -a

CPU: Intel(R) Xeon(TM) CPU 3.00GHz (2992.71-MHz 686-class CPU)
  Logical CPUs per core: 2
real memory  = 3757834240 (3583 MB)
FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
 / 
Virtual Memory: (Total: 37955K, Active 226360K)
Real Memory:(Total: 3588956K Active 145740K)
Shared Virtual Memory:  (Total: 23064K Active: 10700K)
Shared Real Memory: (Total: 14272K Active: 6968K)
 / 
FreeBSD flows.pop-rj.rnp.br 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Mon
May 15 16:51:52 BRT 2006
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/SMP  i386

Não tive chance de confirmar - usando outro software - se o hardware
pode ter mais do que os 375.7834.240 de RAM reportados pelo FreeBSD.

Alex
-
Histórico: http://www.fug.com.br/historico/html/freebsd/
Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd


Re: [FUG-BR] freebsd + $GB de memória

2006-10-19 Por tôpico Alex Moura
On 10/19/06, Alex Moura [EMAIL PROTECTED] wrote:

 (...) Não tive muito tempo pra analisar o caso e tentei rodar
 um kernel compilado com a config. /sys/i386/conf/PAE default e não
 surtiu o efeito desejado. a config. /sys/i386/conf/SMP.


Desculpem, a última frase acima deveria ser:

A config. que acabei usando foi a /sys/i386/conf/SMP.

Alex
-
Histórico: http://www.fug.com.br/historico/html/freebsd/
Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd


Re: [FUG-BR] freebsd + $GB de memória

2006-10-19 Por tôpico Celso Viana
Em 19/10/06, Elton Ramos Carvalho[EMAIL PROTECTED] escreveu:
 Celso Viana wrote:
  Em 19/10/06, Elton Ramos Carvalho[EMAIL PROTECTED] escreveu:
 
  Nilson Debatin wrote:
 
  Em Qui, 2006-10-19 às 15:19 -0200, Elton Ramos Carvalho escreveu:
 
 
  Boa tarde,
 
  Gostaria de tirar uma dúvida com vocês.
  Tenho um servidor com 4GB de memória, eu tenho que recompilar o kernel
  com suporte PAE para ter acesso a estes 4GB?
 
 
  Não precisa, PAE é uma extensão para endereçamento em 48 bits que
  consegue endereçar até 64GB de RAM, você só precisa habilitá-lo se
  você tiver MAIS que 4GB, seu processador NAO SER NEM ESTAR rodando
  um SO de 64 bits, e é claro suportar a extensão PAE.
 
  Mais detalhes, vide man pae.
 
  []s
  Nilson
 
 
  -
  Histórico: http://www.fug.com.br/historico/html/freebsd/
  Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd
 
 
 
 
  Obrigado pela resposta Nilson.
  É que meu servidor parece não reconhecer os 4GB. conforme sysctl -a |
  grep Mem
 
 
  Virtual Memory: (Total: 590K, Active 158708K)
  Real Memory: (Total: 128152K Active 69784K)
  Shared Virtual Memory: (Total: 20928K Active: 11992K)
  Shared Real Memory: (Total: 14480K Active: 8740K)
 
  E no handbook tem o seguinte
 
  *Note:* The PAE support in FreeBSD is only available for Intel IA-32
  processors. It should also be noted, that the PAE support in FreeBSD has
  not received wide testing, and should be considered beta quality
  compared to other stable features of FreeBSD.
 
  Estou confuso.
 
  -
  Histórico: http://www.fug.com.br/historico/html/freebsd/
  Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd
 
 
 
  Qual é o retorno de ...
 
  dmesg |grep real
 
 
 Celso,

 Retorna o seguitne

 real memory  = 3220963328 (3071 MB)

 com o PAE habilitado retorna

 real memory  = 5368709120 (5120 MB)


 Elton

 -
 Histórico: http://www.fug.com.br/historico/html/freebsd/
 Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd


Elton,

Então está correto, não?

-- 
Celso Vianna
BSD User: 51318
http://www.bsdcounter.org

63 8404-8559
Palmas/TO
-
Histórico: http://www.fug.com.br/historico/html/freebsd/
Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd


Re: [FUG-BR] freebsd + $GB de memória

2006-10-19 Por tôpico Nilson Debatin
Em Qui, 2006-10-19 às 16:22 -0300, Alex Moura escreveu:
 CPU: Intel(R) Xeon(TM) CPU 3.00GHz (2992.71-MHz 686-class CPU)
   Logical CPUs per core: 2
 real memory  = 3757834240 (3583 MB)
 FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
  / 
 Virtual Memory: (Total: 37955K, Active 226360K)
 Real Memory:(Total: 3588956K Active 145740K)
 Shared Virtual Memory:  (Total: 23064K Active: 10700K)
 Shared Real Memory: (Total: 14272K Active: 6968K)
  / 
 FreeBSD flows.pop-rj.rnp.br 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Mon
 May 15 16:51:52 BRT 2006
 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SMP  i386
 
 Não tive chance de confirmar - usando outro software - se o hardware
 pode ter mais do que os 375.7834.240 de RAM reportados pelo FreeBSD.
 

Pode sim Alex, eu tenho um dual xeon da IBM com 4GB de RAM, e esse
é o inicio do meu boot:

CPU: Intel(R) Xeon(TM) CPU 3.06GHz (3066.79-MHz 686-class CPU)
  Origin = GenuineIntel  Id = 0xf29  Stepping = 9

Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,
MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE
  Features2=0x4400CNTX-ID,b14
real memory  = 4026466304 (3839 MB)
avail memory = 3946491904 (3763 MB)
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  6

E isso sem habilitar PAE. Fiquei foi ainda mais abismado com o server
do amigo que está com problemas em que habilitando o PAE vai pra 5GB
(!?) isso sim não faz sentido.

[]s
Nilson



-
Histórico: http://www.fug.com.br/historico/html/freebsd/
Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd


Re: [FUG-BR] freebsd + $GB de memória

2006-10-19 Por tôpico Elton Ramos Carvalho
Celso Viana wrote:
 Em 19/10/06, Elton Ramos Carvalho[EMAIL PROTECTED] escreveu:
   
 Celso Viana wrote:
 
 Em 19/10/06, Elton Ramos Carvalho[EMAIL PROTECTED] escreveu:

   
 Nilson Debatin wrote:

 
 Em Qui, 2006-10-19 às 15:19 -0200, Elton Ramos Carvalho escreveu:


   
 Boa tarde,

 Gostaria de tirar uma dúvida com vocês.
 Tenho um servidor com 4GB de memória, eu tenho que recompilar o kernel
 com suporte PAE para ter acesso a estes 4GB?


 
 Não precisa, PAE é uma extensão para endereçamento em 48 bits que
 consegue endereçar até 64GB de RAM, você só precisa habilitá-lo se
 você tiver MAIS que 4GB, seu processador NAO SER NEM ESTAR rodando
 um SO de 64 bits, e é claro suportar a extensão PAE.

 Mais detalhes, vide man pae.

 []s
 Nilson


 -
 Histórico: http://www.fug.com.br/historico/html/freebsd/
 Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd




   
 Obrigado pela resposta Nilson.
 É que meu servidor parece não reconhecer os 4GB. conforme sysctl -a |
 grep Mem


 Virtual Memory: (Total: 590K, Active 158708K)
 Real Memory: (Total: 128152K Active 69784K)
 Shared Virtual Memory: (Total: 20928K Active: 11992K)
 Shared Real Memory: (Total: 14480K Active: 8740K)

 E no handbook tem o seguinte

 *Note:* The PAE support in FreeBSD is only available for Intel IA-32
 processors. It should also be noted, that the PAE support in FreeBSD has
 not received wide testing, and should be considered beta quality
 compared to other stable features of FreeBSD.

 Estou confuso.

 -
 Histórico: http://www.fug.com.br/historico/html/freebsd/
 Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd


 
 Qual é o retorno de ...

 dmesg |grep real


   
 Celso,

 Retorna o seguitne

 real memory  = 3220963328 (3071 MB)

 com o PAE habilitado retorna

 real memory  = 5368709120 (5120 MB)


 Elton

 -
 Histórico: http://www.fug.com.br/historico/html/freebsd/
 Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd

 

 Elton,

 Então está correto, não?

   
Com PAE sim, mas na documentação diz more than 4GB e diz que o código 
é beta ainda.
Estou errado ou o FreeBSD não é indicado para servidores com + de 4GB?

Elton

-
Histórico: http://www.fug.com.br/historico/html/freebsd/
Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd


Re: [FUG-BR] freebsd + $GB de memória

2006-10-19 Por tôpico Elton Ramos Carvalho
Celso Viana wrote:
 Em 19/10/06, Elton Ramos Carvalho[EMAIL PROTECTED] escreveu:
   
 Celso Viana wrote:
 
 Em 19/10/06, Elton Ramos Carvalho[EMAIL PROTECTED] escreveu:

   
 Nilson Debatin wrote:

 
 Em Qui, 2006-10-19 às 15:19 -0200, Elton Ramos Carvalho escreveu:


   
 Boa tarde,

 Gostaria de tirar uma dúvida com vocês.
 Tenho um servidor com 4GB de memória, eu tenho que recompilar o kernel
 com suporte PAE para ter acesso a estes 4GB?


 
 Não precisa, PAE é uma extensão para endereçamento em 48 bits que
 consegue endereçar até 64GB de RAM, você só precisa habilitá-lo se
 você tiver MAIS que 4GB, seu processador NAO SER NEM ESTAR rodando
 um SO de 64 bits, e é claro suportar a extensão PAE.

 Mais detalhes, vide man pae.

 []s
 Nilson


 -
 Histórico: http://www.fug.com.br/historico/html/freebsd/
 Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd




   
 Obrigado pela resposta Nilson.
 É que meu servidor parece não reconhecer os 4GB. conforme sysctl -a |
 grep Mem


 Virtual Memory: (Total: 590K, Active 158708K)
 Real Memory: (Total: 128152K Active 69784K)
 Shared Virtual Memory: (Total: 20928K Active: 11992K)
 Shared Real Memory: (Total: 14480K Active: 8740K)

 E no handbook tem o seguinte

 *Note:* The PAE support in FreeBSD is only available for Intel IA-32
 processors. It should also be noted, that the PAE support in FreeBSD has
 not received wide testing, and should be considered beta quality
 compared to other stable features of FreeBSD.

 Estou confuso.

 -
 Histórico: http://www.fug.com.br/historico/html/freebsd/
 Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd


 
 Qual é o retorno de ...

 dmesg |grep real


   
 Celso,

 Retorna o seguitne

 real memory  = 3220963328 (3071 MB)

 com o PAE habilitado retorna

 real memory  = 5368709120 (5120 MB)


 Elton

 -
 Histórico: http://www.fug.com.br/historico/html/freebsd/
 Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd

 

 Elton,

 Então está correto, não?

   

Detalhe, é FreeBSD 6.1, atualizei o kernel hoje.

FreeBSD xx 6.1-RELEASE-p10 FreeBSD 6.1-RELEASE-p10 #0: Thu Oct 19 
11:55:49 BRST 2006 [EMAIL PROTECTED]:/usr/src/sys/i386/compile/SMP  i386


Elton
-
Histórico: http://www.fug.com.br/historico/html/freebsd/
Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd


Re: [FUG-BR] freebsd + $GB de memória

2006-10-19 Por tôpico Nilson Debatin
Em Qui, 2006-10-19 às 16:31 -0200, Elton Ramos Carvalho escreveu:
 Com PAE sim, mas na documentação diz more than 4GB e diz que o código 
 é beta ainda.
 Estou errado ou o FreeBSD não é indicado para servidores com + de 4GB?

É aconselhável sim, o código é considerado beta por que não foi
largamente testado ou seja, deve ter pouca gente mundo afora
que precise usar PAE e tenha hardware que suporte. Em geral o que
tenho visto de maquinas com mais de 4GB são AMD64 e por ser 64bits
elas suportam naturalmente TeraBytes de memória.
No seu caso eu achei particularmente interessante o servidor ficar
com 5GB usando PAE, então sugiro que se o servidor ainda não estiver
em produção, você faça alguns testes nele com o PAE habilitado, tente
utilizar toda a memoria (podes usar o muse pra ver a utilização) e 
ver se não dá nenhum problema.

[]s
Nilson

-
Histórico: http://www.fug.com.br/historico/html/freebsd/
Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd


Re: [FUG-BR] freebsd + $GB de memória

2006-10-19 Por tôpico Elton Ramos Carvalho
Nilson Debatin wrote:
 Em Qui, 2006-10-19 às 16:31 -0200, Elton Ramos Carvalho escreveu:
   
 Com PAE sim, mas na documentação diz more than 4GB e diz que o código 
 é beta ainda.
 Estou errado ou o FreeBSD não é indicado para servidores com + de 4GB?
 

 É aconselhável sim, o código é considerado beta por que não foi
 largamente testado ou seja, deve ter pouca gente mundo afora
 que precise usar PAE e tenha hardware que suporte. Em geral o que
 tenho visto de maquinas com mais de 4GB são AMD64 e por ser 64bits
 elas suportam naturalmente TeraBytes de memória.
 No seu caso eu achei particularmente interessante o servidor ficar
 com 5GB usando PAE, então sugiro que se o servidor ainda não estiver
 em produção, você faça alguns testes nele com o PAE habilitado, tente
 utilizar toda a memoria (podes usar o muse pra ver a utilização) e 
 ver se não dá nenhum problema.

 []s
 Nilson

 -
 Histórico: http://www.fug.com.br/historico/html/freebsd/
 Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd


   

Vou fazer isso e ver se acho algo mais sobre o assunto.


Obrigado

Elton
-
Histórico: http://www.fug.com.br/historico/html/freebsd/
Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd