[2] Comentário enviado por
albfneto em 13/10/2008 - 19:14h:
Procedimento Alternativo.... Baixando e Atualizando BOINC fácilmente:
1)Baixe o BOINC de:
http://boinc.berkeley.edu/download_all.php
2)Para evitar duplicação de BOINC problemas de memória, bem como para não precisar criar grupo adicional salve o script do boinc (o baixado) exatamente na pasta abaixo, sua pasta de usuario e opere somente nas pastas recomendadas. Se fizer diferente, terá de alterar os scripts.
$ cd /home/USUARIO E substitua USUARIO pela sua pasta user...
/home/USUARIO/ $ ls boinc_6.3.14_i686-pc-linux-gnu.sh
/home/USUARIO/ $ su e sua senha de root
/home/USUARIO/ # chmod +x boinc_6.3.14_i686-pc-linux-gnu.sh
/home/USUARIO/ # ./boinc_6.3.14_i686-pc-linux-gnu.sh
3) Terá sido criada uma pasta BOINC, navegue até ela, e execute os comandos:
/home/USUARIO/ # cd BOINC
/home/USUARIO/BOINC # cp binstall.sh /home/USUARIO
/home/USUARIO/BOINC # cd /home/USUARIO
/home/USUARIO # chmod +x binstall.sh
/home/USUARIO # ./binstall.sh
ou:
/home/USUARIO/ # cd BOINC
/home/USUARIO/BOINC # ./run_client
/home/USUARIO/BOINC # ./run_manager
4) Vai aparecer uma mensagem para executar boinc manager, ou ele vai abrir a tela gráfica e estará sendo executado.
para executar o BOINC sempre no boot, execute os comandos:
$ su e sua senha de root
# gedit /etc/profile
5) E adicione as linhas abaixo, no final do arquivo profile, e salve:
# comandos para iniciar automáticamente o BOINC.
# modificado por Alberto Federman Neto.
#Substitua USUARIO pelo nome de sua pasta /home/...
cd /home/USUARIO/BOINC
./run_client && ./run_manager &
6) Feche a sessão , o Linux e reinicie o micro.
7) Para atualizar, baixe o BOINC novo (o novo script) e repita os passos de 2 a 5.
8) Assim vai ficar o arquivo /etc/profile.
# /etc/profile: login shell setup
#
# That this file is used by any Bourne-shell derivative to setup the
# environment for login shells.
#
# Load environment settings from profile.env, which is created by
# env-update from the files in /etc/env.d
if [ -e /etc/profile.env ] ; then
. /etc/profile.env
fi
export EDITOR=${EDITOR:-/bin/nano}
export PAGER=${PAGER:-/usr/bin/less}
# 077 would be more secure, but 022 is generally quite realistic
umask 022
# Set up PATH depending on whether we're root or a normal user.
# There's no real reason to exclude sbin paths from the normal user,
# but it can make tab-completion easier when they aren't in the
# user's PATH to pollute the executable namespace.
#
# It is intentional in the following line to use || instead of -o.
# This way the evaluation can be short-circuited and calling whoami is
# avoided.
if [ "$EUID" = "0" ] || [ "$USER" = "root" ] ; then
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:${ROOTPATH}"
else
PATH="/usr/local/bin:/usr/bin:/bin:${PATH}"
fi
export PATH
unset ROOTPATH
if [ -n "${BASH_VERSION}" ] ; then
# Newer bash ebuilds include /etc/bash/bashrc which will setup PS1
# including color. We leave out color here because not all
# terminals support it.
if [ -f /etc/bash/bashrc ] ; then
# Bash login shells run only /etc/profile
# Bash non-login shells run only /etc/bash/bashrc
# Since we want to run /etc/bash/bashrc regardless, we source it
# from here. It is unfortunate that there is no way to do
# this *after* the user's .bash_profile runs (without putting
# it in the user's dot-files), but it shouldn't make any
# difference.
. /etc/bash/bashrc
else
PS1='\u@\h \w \$ '
fi
else
# Setup a bland default prompt. Since this prompt should be useable
# on color and non-color terminals, as well as shells that don't
# understand sequences such as \h, don't put anything special in it.
PS1="${USER:-$(type whoami >/dev/null && whoami)}@$(type uname >/dev/null && uname -n) \$ "
fi
for sh in /etc/profile.d/*.sh ; do
[ -r "$sh" ] && . "$sh"
done
unset sh
# comandos para iniciar o boinc.
cd /home/albfneto/BOINC
./run_client && ./run_manager &
NOTA; Uma nova Comunidade sôbre o BOINC.
"United BOINC"
http://www.unitedboinc.com/
[5] Comentário enviado por
eudu em 10/12/2010 - 11:21h:
Bom artigo.
Agora o BOINC está disponível (que sei com certeza) pelo repositório para Ubuntu.
Um detalhe. Eu havia baixado o cliente do site (o arquivo .sh) rodando em meu humilde AMD Sempron 3600 (1 CPU) os resultados foram:
CPU 100% (2GHz)
1215 floating point MIPS (Whetstone) per CPU
2954 integer MIPS (Dhrystone) per CPU
CPU modo economia de energia (800MHz)
487 floating point MIPS (Whetstone) per CPU
1141 integer MIPS (Dhrystone) per CPU
Repeti várias vezes o Benchmark, mas esse foi a média (garanti que a CPU não estivesse em uso).
Após instalar usando o apt-build o resultado do Benchmark melhorou um pouco:
CPU 100% (2GHz)
1260 floating point MIPS (Whetstone) per CPU
4099 integer MIPS (Dhrystone) per CPU
CPU modo economia de energia (800MHz)
502 floating point MIPS (Whetstone) per CPU
1628 integer MIPS (Dhrystone) per CPU
Não sei até que ponto a otimização do apt-build pode realmente melhorar o processamento, mas pelo menos no Benchmark houveram diferenças (principamente nos Dhrystone).
Mais sobre o apt-build em:
http://www.vivaolinux.com.br/artigo/Compilando-facilmente-com-o-aptbuild