Computer Science Software, hardware, computational theory, cool peripherals, and emerging cybernetic technologies


Advertisement (please log in or register to remove this ad)
Notices

Reply
 
LinkBack Thread Tools
  #11 (permalink)  
Old 03-01-2006, 12:58 PM
MortenS's Avatar
Questioning
 

Join Date: Feb 2005
Location: Oslo, Norway
Posts: 216
MortenS will become famous soon enoughMortenS will become famous soon enough
Re: Hypography Distributed Computing Team

Server status says: Up, out of work...

They need to put out new work units, I guess.
__________________
Morten S

- Time is fun when we're having flies. - Kermit the frog

Let's BOINC for Hypography! || MyBoincStats ||Hypography BoincStats
Reply With Quote
Advertisement
  #12 (permalink)  
Old 03-01-2006, 01:04 PM
Tormod's Avatar
Hypographer
Points: 117,155, Level: 100 Points: 117,155, Level: 100 Points: 117,155, Level: 100
Activity: 46% Activity: 46% Activity: 46%
Hypography Staff Member
Administrator
Senior Editor
Editor
Dev Team Member
 
2D Memory Champion!
Join Date: Feb 2002
Location: Oslo, Norway
Posts: 12,633
Tormod has a brilliant futureTormod has a brilliant futureTormod has a brilliant futureTormod has a brilliant futureTormod has a brilliant futureTormod has a brilliant futureTormod has a brilliant futureTormod has a brilliant futureTormod has a brilliant futureTormod has a brilliant future
Re: Hypography Distributed Computing Team

I got "Can't attach to project" when I tried from my PC - both for Rosetta and LHC. But the messages list says it's fetched the config. Maybe I should just leave it on for the night and see what happens.
__________________
Your Friendly Neighborhood Administrator

Found a problem? Report it in our Bug Tracker

Want to sponsor Hypography? Use our Amazon affiliate bookstore when you buy books!

Science is not only compatible with spirituality; it is a profound source of spirituality.
- Carl Sagan
Reply With Quote
  #13 (permalink)  
Old 03-01-2006, 01:07 PM
MortenS's Avatar
Questioning
 

Join Date: Feb 2005
Location: Oslo, Norway
Posts: 216
MortenS will become famous soon enoughMortenS will become famous soon enough
Re: Hypography Distributed Computing Team

Have you set up an account at their website? Or set it up from the project manager?

http://lhcathome.cern.ch/create_account_form.php
__________________
Morten S

- Time is fun when we're having flies. - Kermit the frog

Let's BOINC for Hypography! || MyBoincStats ||Hypography BoincStats
Reply With Quote
  #14 (permalink)  
Old 03-01-2006, 01:08 PM
Tormod's Avatar
Hypographer
Points: 117,155, Level: 100 Points: 117,155, Level: 100 Points: 117,155, Level: 100
Activity: 46% Activity: 46% Activity: 46%
Hypography Staff Member
Administrator
Senior Editor
Editor
Dev Team Member
 
2D Memory Champion!
Join Date: Feb 2002
Location: Oslo, Norway
Posts: 12,633
Tormod has a brilliant futureTormod has a brilliant futureTormod has a brilliant futureTormod has a brilliant futureTormod has a brilliant futureTormod has a brilliant futureTormod has a brilliant futureTormod has a brilliant futureTormod has a brilliant futureTormod has a brilliant future
Re: Hypography Distributed Computing Team

Yeah, that's how I do it with all the projects.
__________________
Your Friendly Neighborhood Administrator

Found a problem? Report it in our Bug Tracker

Want to sponsor Hypography? Use our Amazon affiliate bookstore when you buy books!

Science is not only compatible with spirituality; it is a profound source of spirituality.
- Carl Sagan
Reply With Quote
  #15 (permalink)  
Old 03-01-2006, 01:10 PM
MortenS's Avatar
Questioning
 

Join Date: Feb 2005
Location: Oslo, Norway
Posts: 216
MortenS will become famous soon enoughMortenS will become famous soon enough
Re: Hypography Distributed Computing Team

hmm...and you can log in on their website, but not via the the manager?
__________________
Morten S

- Time is fun when we're having flies. - Kermit the frog

Let's BOINC for Hypography! || MyBoincStats ||Hypography BoincStats
Reply With Quote
  #16 (permalink)  
Old 03-01-2006, 01:11 PM
MortenS's Avatar
Questioning
 

Join Date: Feb 2005
Location: Oslo, Norway
Posts: 216
MortenS will become famous soon enoughMortenS will become famous soon enough
Re: Hypography Distributed Computing Team

I just tried to attach to them, and I got connected to them...no work thoughl.
__________________
Morten S

- Time is fun when we're having flies. - Kermit the frog

Let's BOINC for Hypography! || MyBoincStats ||Hypography BoincStats
Reply With Quote
  #17 (permalink)  
Old 07-07-2007, 03:10 PM
Southtown's Avatar
Inviting Discussion
Points: 19,726, Level: 61 Points: 19,726, Level: 61 Points: 19,726, Level: 61
Activity: 0% Activity: 0% Activity: 0%
 

Join Date: Jun 2005
Location: Cascades
Posts: 1,490
Blog Entries: 1
Southtown is a name known to allSouthtown is a name known to allSouthtown is a name known to allSouthtown is a name known to allSouthtown is a name known to allSouthtown is a name known to allSouthtown is a name known to all
Re: Hypography Distributed Computing Team

I made a Hypography team for the Seasonal Attribution Project at climateprediction.net which comes with pretty steep hardware reqs. =\

Hypography
__________________
אמן

Last edited by Southtown; 07-07-2007 at 03:17 PM.
Reply With Quote
  #18 (permalink)  
Old 05-15-2008, 11:45 AM
alexander's Avatar
Resident USSRian
Points: 69,755, Level: 100 Points: 69,755, Level: 100 Points: 69,755, Level: 100
Activity: 43% Activity: 43% Activity: 43%
Hypography Staff Member
Administrator
Gallery Curator
Dev Team Member
 

Join Date: May 2004
Location: Just before 0xAA55
Posts: 3,984
alexander has a brilliant futurealexander has a brilliant futurealexander has a brilliant futurealexander has a brilliant futurealexander has a brilliant futurealexander has a brilliant futurealexander has a brilliant futurealexander has a brilliant futurealexander has a brilliant futurealexander has a brilliant future
Send a message via AIM to alexander
Re: Hypography Distributed Computing Team

just put up my third system on this

this one is nix, and its supposed to run transparently (shhh)

my biggest problem is that on nix, boinc has not provided a way to limit cpu usage, and for me, it's a big deal, when i am installing it on a future router....

i think i may have found a solution though
Code:
//cpulimit.c
/**
* Simple program to limit the cpu usage of a process
*
* Author: Angelo Marletta (marlonx80@hotmail.com)
*/

#include <stdio.h>
#include <stdlib.h>
#include <time.h>
#include <sys/time.h>
#include <unistd.h>
#include <sys/types.h>
#include <signal.h>
#include <sys/resource.h>

//pid of the controlled process
int pid;

//SIGINT signal handler
void quit(int sig) {
//let the process continue if it's stopped
kill(pid,SIGCONT);
exit(0);
}

int main(int argc, char **argv) {

if (argc!=3) {
fprintf(stderr,"Usage: %s {pid} {max cpu percentage}n",argv[0]);
exit(1);
}
pid=atoi(argv[1]);
int limit=atoi(argv[2]);
if (limit>100 || limit<0) {
fprintf(stderr,"limit must be in the range 0-100n");
exit(1);
}
//if possible renice this process, so it has more responsiveness
if (setpriority(PRIO_PROCESS,getpid(),-20)!=0) {
printf("Warning: cannot renice.nTo work better you should run this program as root.n");
}
signal(SIGINT,quit);

//time quantum in microseconds
int period=100000;
struct timespec twork,tsleep; //time to work, and time to sleep
twork.tv_sec=0;
twork.tv_nsec=period*limit*10;
tsleep.tv_sec=0;
tsleep.tv_nsec=period*(100-limit)*10;

while(1) {
if (kill(pid,SIGSTOP)!=0) break;
nanosleep(&tsleep,NULL);
if (kill(pid,SIGCONT)!=0) break;
nanosleep(&twork,NULL);
}

perror("kill()");
exit(1);
}
__________________

This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 License.

Last edited by alexander; 05-15-2008 at 11:58 AM. Reason: fixing the c code... was not working in the original version, all that well...
Reply With Quote
  #19 (permalink)  
Old 05-15-2008, 12:44 PM
alexander's Avatar
Resident USSRian
Points: 69,755, Level: 100 Points: 69,755, Level: 100 Points: 69,755, Level: 100
Activity: 43% Activity: 43% Activity: 43%
Hypography Staff Member
Administrator
Gallery Curator
Dev Team Member
 

Join Date: May 2004
Location: Just before 0xAA55
Posts: 3,984
alexander has a brilliant futurealexander has a brilliant futurealexander has a brilliant futurealexander has a brilliant futurealexander has a brilliant futurealexander has a brilliant futurealexander has a brilliant futurealexander has a brilliant futurealexander has a brilliant futurealexander has a brilliant future
Send a message via AIM to alexander
Re: Hypography Distributed Computing Team

(note, for some insane reason VB blocks anything with a $ in front of it... so i HAD to not use the code tags)

Here's what i did so far to get limiting, working:

after following the normal installation steps do the following:

copy the code above into limiter.c file in wherever your BOINC directory is.

compile it:

gcc limiter.c -o limiter

now lets go and edit an init.d script:
nano -w /etc/init.d/boinc

first, you will see a lot of defined values. Take a moment and add one more to it

MAX_FREQ=60

now go to section that says

echo -n "Starting BOINC client as a daemon: "
su $BOINCUSER -c "$BOINCEXE $BOINCOPTS" >>$LOGFILE 2>>$ERRORLOG &
sleep 1
PID=`pidof -s -x -o $$ -o $PPID -o %PPID $BOINCEXE`
if [ $PID ]; then
[ -d $LOCKDIR ] && touch $LOCKDIR/boinc



add this just after that line

# rather dirty way of doing this
./limiter $PID $MAX_FREQ &


this will start the limiter when you start the service

now only to kill it when you are done

go to section that says:


cd $BOINCDIR
if [ ! -f lockfile -a ! -f $LOCKDIR/boinc ] ; then
echo -n "BOINC is not running (no lockfiles found)."
echo_success
else
echo -n "Stopping BOINC client daemon: "
killproc $BOINCEXE && echo_success || echo_failure
# clean up in any case
rm -f $BOINCDIR/lockfile
rm -f $LOCKDIR/boinc


now lets add one more line to it

killall limiter


save, restart service, do a ps -ef f, make sure limiter is in there, do a top, to make sure that whatever boinc is doing, it is not exceeding whatever max percent utilization, and we are in game
__________________

This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 License.

Last edited by alexander; 05-15-2008 at 01:00 PM. Reason: it deleted everything.... gaaaaah!
Reply With Quote
  #20 (permalink)  
Old 05-24-2008, 09:44 AM
alexander's Avatar
Resident USSRian
Points: 69,755, Level: 100 Points: 69,755, Level: 100 Points: 69,755, Level: 100
Activity: 43% Activity: 43% Activity: 43%
Hypography Staff Member
Administrator
Gallery Curator
Dev Team Member
 

Join Date: May 2004
Location: Just before 0xAA55
Posts: 3,984
alexander has a brilliant futurealexander has a brilliant futurealexander has a brilliant futurealexander has a brilliant futurealexander has a brilliant futurealexander has a brilliant futurealexander has a brilliant futurealexander has a brilliant futurealexander has a brilliant futurealexander has a brilliant future
Send a message via AIM to alexander
Re: Hypography Distributed Computing Team

just outcomputed T in the einstein project and i have over 8000 credit pending

Hypography
__________________

This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 License.
Reply With Quote
Reply

Bookmarks
Advertisement


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Plasmonic electronics for future computing? maikeru Technology and gadgets 2 04-05-2007
Hypography Development Team alexander Computer Science 9 12-29-2006
Computing with dominos (the little tiles, not the CPU architecture) CraigD Science Projects and Homework 1 06-11-2006
Future forms of computing jorge_jmt Computer Science 10 05-22-2006
Distributed computing MortenS Watercooler 4 02-19-2006

» Advertisement
» Latest Science News
Rattlesnake-type poisons used by superbug bacteria
imageColonies of hospital superbugs can make poisons similar to those found in rattlesnake venom to attack our bodies' natural defences, scientists heard today (Monday 8 September 2008) at the Society for General Microbiology's Autumn meeting being held this week at Trinity College, Dublin.
Read » | 0 comments

A Fine-Tooth Comb To Measure The Accelerating Universe
imageAstronomical instruments needed to answer crucial questions, such as the search for Earth-like planets or the way the Universe expands, have come a step closer with the first demonstration at the telescope of a new calibration system for precise spectrographs. The method uses a Nobel Prize-winning technology called a 'laser frequency comb', and is published in this week's issue of Science.
Read » | 0 comments

Fermilab physicists discover "doubly strange" particle
imagePhysicists of the DZero experiment at the U.S. Department of Energy's Fermi National Accelerator Laboratory have discovered a new particle made of three quarks, the Omega-sub-b (Ωb). The particle contains two strange quarks and a bottom quark (s-s-b). It is an exotic relative of the much more common proton and weighs about six times the proton mass.
Read » | 0 comments
» Current Poll
Do U text?
No - 38.89%
14 Votes
Yes; < 6 messages/day - 38.89%
14 Votes
Yes; 6-15 messages/day - 11.11%
4 Votes
Yes; 16 to 43 messages/day - 5.56%
2 Votes
Yes; > 43 messages/day - 2.78%
1 Vote
What? - 2.78%
1 Vote
Total Votes: 36
You may not vote on this poll.
» Random Social Groups
ESP
5 members | 10 pictures
Wildflowers
17 members | 114 pictures
Guitarists
4 members | 0 pictures
WHO BELIEVES IN UFO?
4 members | 28 pictures
The Prophesy: Crew Members
6 members | 0 pictures
» View All Groups
Advertisement

All times are GMT -8. The time now is 11:00 AM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 ©2008, Crawlability, Inc.
Copyright © 2000-2008 Hypography
Part of the Hypography - Science for Everyone Network