Author |
Message |
Menipe Volunteer tester Send message
Joined: 2 Jan 08 Posts: 235 ID: 17041 Credit: 96,416,225 RAC: 0
                     
|
I am wondering if anyone is running on Google Cloud Platform. They offer a 60 day free trial and I have set up a compute engine with 4 virtual CPUs to try it out. It's fairly simple to setup to run BOINC and PrimeGrid.
____________
|
|
|
|
I am wondering if anyone is running on Google Cloud Platform. They offer a 60 day free trial and I have set up a compute engine with 4 virtual CPUs to try it out. It's fairly simple to setup to run BOINC and PrimeGrid.
I've used Google Cloud (60 day trial and beyond) for BOINC and PRPNet on different gmail accounts. It works well and as you said it's easy to set up. |
|
|
|
I would like to use it fo sieving: how are fast those virtual CPU-s?
____________
92*10^1439761-1 REPDIGIT PRIME :) :) :)
314187728^131072+1 GENERALIZED FERMAT
31*332^367560+1 CRUS PRIME
Proud member of team Aggie The Pew. Go Aggie! |
|
|
Menipe Volunteer tester Send message
Joined: 2 Jan 08 Posts: 235 ID: 17041 Credit: 96,416,225 RAC: 0
                     
|
The CPUs show as:
GenuineIntel
Intel(R) Xeon(R) CPU @ 2.30GHz [Family 6 Model 63 Stepping 0]
http://www.primegrid.com/show_host_detail.php?hostid=529473
Depending on the region you select you can choose the architecture.
https://cloud.google.com/compute/docs/regions-zones/regions-zones#available
____________
|
|
|
|
I signed up to use the free tier of App Engine and am using the credits towards compute engine currently. It works wonderfully.
____________
|
|
|
|
I've run the Google Compute trial. Very simple to partition a system. Would recommend.
Microsoft offers a free $200 trial of Azure: https://azure.microsoft.com/en-us/free/
Vultr offers a free $50 trial : https://www.vultr.com/freetrial/
____________
|
|
|
|
Google, definitely easy to set up.
Slooooooow, however.
I fired up an 8-core box. I have an i3-4130 that completes an SGS in around 770 (2/2 cores) seconds and an i5-2400 in around 960 (3/4).
The 8-core Google instance took around 1625 each (8/8).
It hasn't finished its first round of longer LLR units yet.
Considering that machine would run about $145/month without the free trial, it is going to have about a 2-month lifespan, which is convenient, given it is a 2-month trial :) |
|
|
|
Google machines count virtual cpus. 1 core=2 virtual cpus.
This is like running a cpu with hyperthreading on: speed on LLR tasks is fairly slow.
From my experience with Google cloud and Amazon AWS, if you change your preferences to "use 50%" of the cores, tasks will run almost as fast as they would on a physical cpu with hyperthreading off.
Btw, Google cloud costs are the same on all regions. However, the hardware varies from old SANDY Bridge up to broadwell generation Intel cpus. The latter are the fastest running LLR Wus, despite lower nominal clock speeds. Check the links below (or above, depending on how you have messages displayed) and choose a region with Broadwell cpus if you decide to give the trial offer a try.
Deploying a VM on Google cloud is easier than on the Amazon or Microsoft counterparts. It has a decent ssh terminal that can be deployed from a browser window, so you just need to type a few linux command lines to start crunching.
Just remember to read the ToS before you start ....
____________
676754^262144+1 is prime |
|
|
|
Since it doesnot look too slow, I am considering using 8 cores Cloud on PRP with Prime95.So it be like 4 cores of "real"CPU - in speed ,right?
By reading of ToS, is any hidden catch? Is it really free until bonus is off?
____________
92*10^1439761-1 REPDIGIT PRIME :) :) :)
314187728^131072+1 GENERALIZED FERMAT
31*332^367560+1 CRUS PRIME
Proud member of team Aggie The Pew. Go Aggie! |
|
|
|
Since it doesnot look too slow, I am considering using 8 cores Cloud on PRP with Prime95.So it be like 4 cores of "real"CPU - in speed ,right?
that's it.
By reading of ToS, is any hidden catch? Is it really free until bonus is off?
I think the free trial is enough for 2 full months running a 8 Vcpu machine. I could find no hidden catch on the ToS, but English is not my native language.
There's a faq page with comprehensive information about the free trial.
https://cloud.google.com/free-trial/#faq (I believe I'm not breaking any forum rules by posting this link. I have no affiliation with Google)
____________
676754^262144+1 is prime |
|
|
|
Since it doesnot look too slow, I am considering using 8 cores Cloud on PRP with Prime95.So it be like 4 cores of "real"CPU - in speed ,right?
that's it.
By reading of ToS, is any hidden catch? Is it really free until bonus is off?
I think the free trial is enough for 2 full months running a 8 Vcpu machine. I could find no hidden catch on the ToS, but English is not my native language.
There's a faq page with comprehensive information about the free trial.
https://cloud.google.com/free-trial/#faq (I believe I'm not breaking any forum rules by posting this link. I have no affiliation with Google)
english is not my native language as well, and since I give card number it is not for funny... better to do double check before everything...
____________
92*10^1439761-1 REPDIGIT PRIME :) :) :)
314187728^131072+1 GENERALIZED FERMAT
31*332^367560+1 CRUS PRIME
Proud member of team Aggie The Pew. Go Aggie! |
|
|
|
So if this Google cloud thing is free, why do they insist on a credit card number? Is it so they can auto bill and auto renew?
____________
|
|
|
|
So if this Google cloud thing is free, why do they insist on a credit card number? Is it so they can auto bill and auto renew?
It's so that they can bill you when either:
1. Your $300 credit runs out
2. The 60 day period that the $300 credit is good for runs out
At least for App Engine, you can set a maximum daily amount to bill after which your App will no longer serve data. I'm not sure if the same is true of Compute Engine.
____________
|
|
|
|
I've run the Google Compute trial. Very simple to partition a system. Would recommend.
Microsoft offers a free $200 trial of Azure: https://azure.microsoft.com/en-us/free/
Vultr offers a free $50 trial : https://www.vultr.com/freetrial/
Vultr throttled my instances so badly that I could not use the service anymore for crunching. But in their defense, I was breaking the terms of service.
____________
|
|
|
|
I would bet that they are going to consider running your CPUs at 100% 27/7 the same as;
"Some actions are prohibited during free trial. For example, during your free trial you may not use Cloud Platform services to engage in mining cryptocurrency".
https://cloud.google.com/free-trial/docs/free-trial-quotas |
|
|
|
Vultr throttled my instances so badly that I could not use the service anymore for crunching. But in their defense, I was breaking the terms of service.
I would bet that they are going to consider running your CPUs at 100% 27/7 the same as;
"Some actions are prohibited during free trial. For example, during your free trial you may not use Cloud Platform services to engage in mining cryptocurrency".
https://cloud.google.com/free-trial/docs/free-trial-quotas
YMMV, but I was able to run both trials at full load with no issues. I personally know a handful of folks that have used the Google Cloud trial to run BOINC at full load and there have been no issues and no charges.
____________
|
|
|
Menipe Volunteer tester Send message
Joined: 2 Jan 08 Posts: 235 ID: 17041 Credit: 96,416,225 RAC: 0
                     
|
So far I have been running Google Cloud trial to run BOINC at full load for the last 5 days with no issues.
____________
|
|
|
|
So far I have been running Google Cloud trial to run BOINC at full load for the last 5 days with no issues.
Look at log files.
____________
92*10^1439761-1 REPDIGIT PRIME :) :) :)
314187728^131072+1 GENERALIZED FERMAT
31*332^367560+1 CRUS PRIME
Proud member of team Aggie The Pew. Go Aggie! |
|
|
Menipe Volunteer tester Send message
Joined: 2 Jan 08 Posts: 235 ID: 17041 Credit: 96,416,225 RAC: 0
                     
|
So far I have been running Google Cloud trial to run BOINC at full load for the last 5 days with no issues.
Look at log files.
It looks like it might be only after 8 days as the quota says 5/8 or 62.5% used for CPU.
____________
|
|
|
|
Look at log files.
I've run the Google Cloud, Vultr, and now the Azure trial. I've never experienced throttling.
Here are the cpu and hd graphs for a trial that was started on December 15th... [/img]
____________
|
|
|
|
Is there a better tutorial on how to run the BOINC client prime grid on the google cloud? I'm not familiar with linux distros at all.
Thanks |
|
|
Tyler Project administrator Volunteer tester Send message
Joined: 4 Dec 12 Posts: 1077 ID: 183129 Credit: 1,280,170,555 RAC: 0
                     
|
Is there a better tutorial on how to run the BOINC client prime grid on the google cloud? I'm not familiar with linux distros at all.
Thanks
It's fairly easy to automate with a simple script, that you can either set as "user data"/"startup script" or run after logging into the instance with ssh.
Replace your_account_key_here with your account key from your PrimeGrid home page.
#!/bin/sh
apt-get -y --force-yes install boinc-client
cd /var/lib/boinc-client/
rm global_prefs_override.xml
wget http://tycloud.tech/BOINC/global_prefs_override.xml
boinccmd --read_global_prefs_override
boinccmd --project_attach http://www.primegrid.com/ your_account_key_here
boinccmd --project http://www.primegrid.com/ update
The global_prefs_override file it downloads and uses, contains the following, and it makes sure that BOINC doesn't stop running because it runs out of disk space, as many of these "cloud" servers have little disk space:
<global_preferences>
<disk_min_free_gb>1</disk_min_free_gb>
</global_preferences>
Feel free to download it from my site, or copy it to somewhere of your own and use it from there.
You can also download a cc_config.xml file containing the number of CPUs to use, and read it with boinccmd --read_cc_config.
Hope this helps,
-Tyler
____________
275*2^3585539+1 is prime!!! (1079358 digits)
Proud member of Aggie the Pew
|
|
|
|
And set up a cron job to run the Linux distro's updates frequently. Unpatched servers with open ports are prime targets for being "pwned" by botnets when new vulnerabilities make it into exploitation kits.
I had a cloud instance (not Google) for experimentation which sat idle for several months after the experiment was done. When I came back to it, the cloud manager's CPU graph showed that something had been running on it for a few weeks. So I blew it away, installed a familiar distro, and scheduled a cron job to keep it up to date. |
|
|
|
And set up a cron job to run the Linux distro's updates frequently. Unpatched servers with open ports are prime targets for being "pwned" by botnets when new vulnerabilities make it into exploitation kits.
Sorry I'm not familiar with Linux / linux CLI, what is a cron job? |
|
|
|
a cron job is one that is run automatically at repeated calendar/clock based start times, like "run this at 3mins past every hour" or "on Tuesdays at 1703".
They are so called after the process that initiates then, crond, the cron deamon, c[h]ron being greek for time, and a daemon being a system task that runs continuously in the background.
This facility exists, with the same names for its various parts, in MacOS, which at the command line level is BSD. Both BSD and Linux are inspired by Unix, where the names originally came from.
The same facility must exist on Windows, but I do not know what Microsoft call it.
R~~ |
|
|
|
Is there an easy explanation of trying to configure Primegrid so it runs GCW-sieve on the Google Clould vm?
I am following this tutorial, but I am getting a roadblock in step 9 - http://www.gridresearchcorp.com/beta/?tutorial
I can install boinc, project url and auth key, but after that nothing seems to happen. No download or task running in sight. |
|
|