![]() |
|
|
#56 |
|
Romulan Interpreter
Jun 2011
Thailand
7·1,373 Posts |
Question: Is it normal under Linux that the performance of the CPU degrades (to about a half) when
To be clear, right now, for me, as a "non-US" (therefore can't get the Pro, I tried!), it doesn't worth much to run the "CPU and GPU" toy. I never get a GPU which is good for PRP, so every time I connect, I use the script which they give as example in the intro: Code:
gpu_info = !nvidia-smi
gpu_info = '\n'.join(gpu_info)
if gpu_info.find('failed') >= 0:
print('Select the Runtime > "Change runtime type" menu to enable a GPU accelerator, ')
print('and then re-execute this cell.')
else:
print(gpu_info)
Last fiddled with by LaurV on 2021-03-22 at 07:08 |
|
|
|
|
|
#57 | |||
|
Dec 2019
2×17 Posts |
Quote:
Quote:
What I would do in your situation is to have a notebook that runs a "GPU and CPU" notebook (you may run two at a time also if you want) and have 1-4 "CPU only" notebooks running as Google allows you multiple notebooks and you can make progress this way on multiple assignments at a time and make progress despite whatever hardware idiosyncrasies exist (I assume your goal is to make the most progress as possible). Quote:
|
|||
|
|
|
|
|
#58 | |
|
If I May
"Chris Halsall"
Sep 2002
Barbados
37·263 Posts |
Quote:
At least, for anyone who takes their relationship with Google seriously. Some do; others don't. By definition, sentients have free will, and so will make and are responsible for their own decisions. |
|
|
|
|
|
|
#59 |
|
Dec 2019
2×17 Posts |
For those interested and who have not followed the thread, see the following posts which mention arguments for and against the use of the extension (mods feel free to add others):
For: Post #1 Against: Post #1 Last fiddled with by danc2 on 2021-03-22 at 00:14 |
|
|
|
|
|
#60 | |
|
If I May
"Chris Halsall"
Sep 2002
Barbados
260316 Posts |
Quote:
For those who want to actually understand the various positions argued, please read this thread from the top. Various "new phrases" came to mind during this reply. But I deleted them before hitting the "Submit Reply". P.S. They might have included a certain person who has been said walked on water to do unimaginable things to themself... Last fiddled with by chalsall on 2021-03-22 at 01:32 Reason: s/new words/new phrases/; # Humor can be such a subjective thing... |
|
|
|
|
|
|
#61 |
|
Romulan Interpreter
Jun 2011
Thailand
258B16 Posts |
Sorry.
Total brain fart on my side. Please substitute in all my post in your mind, when you read it, "gpuOwl" with "cudaLucas". I was talking about cudaLucas and Nvidia drivers. The situation I described (GPU work taking a CPU core) happened with cudaLucas and Nvidia drivers in the past. But I got it messed up somehow. I guess that's happening when posting at midnight, with 39°C fever (being arguing with a flu for few days).The topic stands. When I am using "Colab CPU Notebook" I am getting 2.5-3.5 ms/iter, depending of the exponent and CPU given (PRP-CF work), but when I am using "Colab GPU and CPU Notebook", I am getting 4.5-5.5 ms/iter for the CPU work. In this case, a GPU like P4 or the "half k80" doesn't help, they are very slow, even for LLDC work, they don't last long, and I don't get them so often to be able to finish any assignment in time, so the GPU work will not compensate for the lost CPU work. And a T4 is a waste for PRP/LL anyhow, as that is so good for TF. Last fiddled with by LaurV on 2021-03-22 at 07:22 |
|
|
|
|
|
#62 | ||
|
Dec 2019
1000102 Posts |
Quote:
Quote:
|
||
|
|
|
|
|
#63 |
|
Romulan Interpreter
Jun 2011
Thailand
7×1,373 Posts |
Nah, wait, wait, don't go!
It wasn't anything about hardware. You didn't reply my question: does anybody experiences increasing in iteration time for the CPUs on colab, when the GPU is running, with your "gpu and cpu notebook"? Because if so, then you may be using the wrong driver, or you would need a tweak of it or of cudaLucas (or dld a different/older driver when you install the notebook). Or this is a Linux issue of which I am not aware? Running local (windows, again, I have no linux experience) does not show this behavior. With or without cL running, the P95 iterations take the same amount of time (regardless if 2080Ti, 1080Ti, Titan, 580 fermi, these are the only cards I have now). Anybody else can answer/weight in? Or is only me running Teal's toys? Edit: I edited the brain farting post, just to have it right for the future readers. My problem, as expressed in above post: When I am using "Colab CPU Notebook" I am getting 2.5-3.5 ms/iter, depending of the exponent and CPU given (PRP-CF work), but when I am using "Colab GPU and CPU Notebook", I am getting 4.5-5.5 ms/iter for the CPU work. In this case, a GPU like P4 or the "half k80" doesn't help, they are very slow, even for LLDC work, they don't last long, and I don't get them so often to be able to finish any assignment in time, so the GPU work will not compensate for the lost CPU work. And a T4 is a waste for PRP/LL anyhow, as that is so good for TF. So, if you want me to use your "GPU and CPU" toy, you have to fix the (whatever?) to make the GPU work come as additional work, and not as "instead of CPU" work. 101 miles per hour is better that 100 miles per hour, but 101 miles per hour and headache is not.
Last fiddled with by LaurV on 2021-03-22 at 07:26 |
|
|
|
|
|
#64 |
|
Romulan Interpreter
Jun 2011
Thailand
7·1,373 Posts |
Also, for Chris, you maybe didn't read the ending of my post, there was there an argument that you should display the GPU before proceeding to download all the stuff (which takes ages). The reason is that if I see I don't have the "right" GPU, then I can click the "factory default" button before waiting an eon and a bit more for all the stuff to download, and get a new (possible better) GPU. This will save a lot of time at startup. In fact, based on Teal's idea, you should check if the stuff is downloaded, and don't download it every time. Keep it in drive (i.e. not in "home" as it is currently, home is gone when reset).
Last fiddled with by LaurV on 2021-03-22 at 07:16 |
|
|
|
|
|
#65 | ||||||
|
"Teal Dulcet"
Jun 2018
2×17 Posts |
Quote:
Quote:
Quote:
Quote:
Quote:
FYI, both our notebooks are just as much Daniel's as they are mine, although I appreciate the complement. It was actually Daniel's idea to create them in the first place and he did most of the initial work.Quote:
BTW, I have finished most of the necessary work for our GPU notebook to use GpuOwl. We are just waiting on Colab to upgrade to Ubuntu 20.04 so we can start testing and finish updating our PrimeNet script... |
||||||
|
|
|
|
|
#66 |
|
Romulan Interpreter
Jun 2011
Thailand
7·1,373 Posts |
This very nicely answers all my questions.
Summary: cudaLucas taking one full CPU core and reducing the CPU performance to half (that is what I experience, regardless of what you, being in US and using Pro account, say), is a colab thing, and nothing can be done about it (drivers are handled by colab). The part with using both notebooks in the same time does not apply to me, I can't do that unless I use multiple accounts, and that is what I was referring to when I said "headache". Also, "a gpu will complete whatever work in two weeks" if you get it. If you get two hours today, two after 3 days, then that work will never complete, and (due to separate CPU pools of assignments) bottleneck the CPU work. That is what I was referring as "combine them together" in one of my first posts in this thread, and if I get a GPU, do that, if not, do this. But use a common pool. Then the GPU work comes as additional, the 101st mile, not as a showstopper. Anyhow, thanks a lot for the notebooks, and for the answers. Good job. (my last sentence was intentionally formulated so you will "feel threatened" and reply )
Last fiddled with by LaurV on 2021-03-22 at 13:59 |
|
|
|
![]() |
| Thread Tools | |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Google Diet Colab Notebook | Corbeau | Cloud Computing | 1157 | 2021-05-20 19:47 |
| Primality testing of numbers k*b^n+c | Viliam Furik | Math | 3 | 2020-08-18 01:51 |
| Alternatives to Google Colab | kriesel | Cloud Computing | 11 | 2020-01-14 18:45 |
| Google Notebooks -- Free GPUs!!! -- Deployment discussions... | chalsall | Cloud Computing | 3 | 2019-10-13 20:03 |
| a new primality testing method | jasong | Math | 1 | 2007-11-06 21:46 |