Sluggish performance

Started by cyphyr, May 24, 2020, 07:59:22 AM

Previous topic - Next topic

cyphyr

My main rendering rig is performing sluggishly.  It renders as fast as expected but the interface is slow to respond; this is particularly noticeable in Terragen but still apparent in other programs including the operating system.

I am wondering if the cause could be either the RAM or the graphics card.

Spec:

AMD Ryzen 3900X @ 4GHz
64GB Dual Channel DDR 4 @ 1066.4MHz
NVIDIA GeForce GTX 1660

All the drives are SSD's and the operating system sits on an M2.

The sluggishness is so bad that I hardly use the system for anything other than rendering, still creating on my old system and only moving files over to render.

The Mobo won't take RAM that is quad channel but I could invest in faster clock speed or if the card is a bottleneck get a better one.

Suggestions greatly received. Ta :)
www.richardfraservfx.com
https://www.facebook.com/RichardFraserVFX/
/|\

Ryzen 9 5950X OC@4Ghz, 64Gb (TG4 benchmark 4:13)

Kadri

Hard to say anything but some things come to my mind at first that you know most probably already Richard.
If you don't overclock:
Ram speed looks kinda slow for such a computer setup.
Could be a motherboard problem-settings. Look at the fans and monitor your cpu, mainboard etc. temperature.
Maybe you could just try to set a slower speed limit for the CPU (sounds strange but happened to me).

Then there are the standard things like Windows problems (re installing?...hate this).
Assuming that you have no hardware problems (Memtest etc).
Trying another graphics card...maybe if you have an onboard card etc.

But Terragen is sluggish on my system too sometimes even when not rendering. With RTP on especially.
Especially while rendering it is harder then Lightwave for example to my system in general.

Nala1977

Quote from: cyphyr on May 24, 2020, 07:59:22 AMMy main rendering rig is performing sluggishly.  It renders as fast as expected but the interface is slow to respond; this is particularly noticeable in Terragen but still apparent in other programs including the operating system.

I am wondering if the cause could be either the RAM or the graphics card.

Spec:

AMD Ryzen 3900X @ 4GHz
64GB Dual Channel DDR 4 @ 1066.4MHz
NVIDIA GeForce GTX 1660

All the drives are SSD's and the operating system sits on an M2.

The sluggishness is so bad that I hardly use the system for anything other than rendering, still creating on my old system and only moving files over to render.

The Mobo won't take RAM that is quad channel but I could invest in faster clock speed or if the card is a bottleneck get a better one.

Suggestions greatly received. Ta :)
try to download this https://www.userbenchmark.com/resources/download/UserBenchMark.exe

 let it run then it will open a web page with the results and its going to highlight what supposely is your bottleneck. Your ram maybe runs at a lower clock.

if you have overclocked it maybe soething is wrong, its kinda hard to pinpoint whats wrong, last time i had this issue i format my pc and everything went back to normal.
Double check drivers maybe?

N-drju

Recently, I have also started to experience problems. Got two BSoDs. Once, the computer even reset without any error screen. Later, I couldn't even open image files with the default Win viewer.

I have read somewhere, that outdated drivers can cause a whole heap of trouble if not kept in check and promptly uninstalled Logitech peripheral which I don't use anymore. Interestingly enough, the problems have not repeated so far.

Which brings me to the following point - try to check and see if you have any devices or drivers that are outdated or unused. It's amazing how many things can go awry due to such a cause... :o
"This year - a factory of semiconductors. Next year - a factory of whole conductors!"

cyphyr

Thanks guys ...
Well according to that little utility everything is running "Outstanding" except the processor that is "Performing way below expectations (16th percentile)".

Well at least I won't have to shell out on a new card or RAM.
Time for a re-build ... meh :\
www.richardfraservfx.com
https://www.facebook.com/RichardFraserVFX/
/|\

Ryzen 9 5950X OC@4Ghz, 64Gb (TG4 benchmark 4:13)

D.A. Bentley (SuddenPlanet)

Just curious but are you liquid cooling your CPU, or Air/Fan cooled?
If your using a closed loop all-in-one style cooler make sure the pump hasn't stopped.
If the CPU starts overheating it will automatically throttle down, and you will lose a lot of performance.
You could check this by using Hardware Monitor to monitor temps, and then just open Windows Task Manager (Performance Tab) to monitor the CPU speed (Ctrl-Shift ESC).

Also while in Task Manager look at what apps are running and what is hitting your CPU hard.  Also look for anything suspicious (malware/virus).

-Derek

cyphyr

It is water-cooled and I will make a check as you advise but I doubt this is the issue as it's less than a year old. Definitely worth looking in to.

So far I have found that my RAM was running at 1066MHz when it should have been running at 1600MHz (now fixed).
And I have reset the OC to default so the multiplier is 38 rather than 40. 

Seems a little more stable and responsive.

The system is hardly ever on line but nonetheless has up-to-date Bitdefender running. I shall run Malwarebytes on it next.

In my old system (which is unfortunately still my main system) I can easily pick up multiple large onscreen populations and move the camera about with ease. 
On my new system, I click and have to wait until it becomes responsive and then it only moves jerkily. That is why I wondered if the graphics card is not up to spec.
www.richardfraservfx.com
https://www.facebook.com/RichardFraserVFX/
/|\

Ryzen 9 5950X OC@4Ghz, 64Gb (TG4 benchmark 4:13)

N-drju

While there, you may also consider if the cooling is up to the task and dust isn't physically clogging your system (unless you already did, I jumped back to your topic just now). I know this has been the cause for the headache for me as well. Nothing was running smoothly until I finally fixed the cooling system and got rid of throttling.

If the computer is one-year old as you say, it might be a good time to renew cooling and dust it off. This is usually the amount of time after which I go to the "pit-stop" and get these things done.
"This year - a factory of semiconductors. Next year - a factory of whole conductors!"

KlausK

Hi Richard,
with my 2-Xeon-CPU-Box I experience the same behaviour.
Almost each and every scene, especially the population heavier ones are sluggish in the viewport.
This all started with the introduction of the RTP.
When I try to move the viewport there is a more or less longer pause (like "thinking thinking thinking a that`s what he wants!) before the viewport reacts. I usually have only bounding box display on to be able to do anything in time. With imported objects and populations that is.

Rendering times - I could not be happier (only if I was a rich man...dabadabidibidu)

Then I do not really take those benchmarks too seriously. I ran it about 10 times now, because the first time it broke down, couldn`t finish, after that quite a variety of results each time. Ranging from very WOW to way below expectations. So that either tells me my system is completely f#*#d up or the benchmark is soso...

I do not think it`s the RAM or Graphics Card on your system. TG does not utilize the most modern features of GPUs, I think I remember Matt or Oshyan say the viewport uses good old OpenGL mostly or even exclusively. Every G-card should be able to handle that nowadays.
Why would your older system with a assumably older Gcard work more smoothly? You even have only 1/2 the amount of RAM in your old box.

The main difference between your old and your new system seems to be the CPU and the amount of cores.
You did not say which OS you are running, though.

My main advice would be to try different (even older) drivers for the Graphics Card and double check for all your drivers and utilities of the mainboard. They truly make a huge difference. Chipset drivers especially.

And regarding dust...well I think a system that is watercooled has other issues than dust.
You should monitor the temperature of your cpu over a longer time period to see if the watercooling works as expected - on the other hand if the box renders as fast as expected and does not show any signs of "getting too hot too easily" I would think that this is not the cause to sluggishness.

So, what does this mean - nothing at all. Just a guess as good as anyone elses, really.
Good luck! CHeers, Klaus
/ ASUS WS Mainboard / Dual XEON E5-2640v3 / 64GB RAM / NVIDIA GeForce GTX 1070 TI / Win7 Ultimate . . . still (||-:-||)

Tangled-Universe

Quote from: KlausK on May 26, 2020, 09:39:36 AMHi Richard,
with my 2-Xeon-CPU-Box I experience the same behaviour.
Almost each and every scene, especially the population heavier ones are sluggish in the viewport.
This all started with the introduction of the RTP.
When I try to move the viewport there is a more or less longer pause (like "thinking thinking thinking a that`s what he wants!) before the viewport reacts. I usually have only bounding box display on to be able to do anything in time. With imported objects and populations that is.

Rendering times - I could not be happier (only if I was a rich man...dabadabidibidu)

These are quite exactly my observations with my 24-core Threadripper.
Rendertimes are awesome, but TG itself barely runs faster.
3D preview runs a bit faster, but shader previews barely, if not even slower.
The RTP, especially for cloudwork, is really fast.
When scenes are node-heavy TG does not manage to utilize the resources available. Copy/pasting nodes is slow, Rewiring nodes is slow/slugghish. Nothing is fast and snappy anymore.
Also, cancelling renders with >32 threads takes very very long often.
All in all I'm super happy with my render monster, but it hasn't given me the workflow (speed) benefits I hoped for yet.

KyL

Quote from: Tangled-Universe on May 26, 2020, 09:57:36 AMWhen scenes are node-heavy TG does not manage to utilize the resources available. Copy/pasting nodes is slow, Rewiring nodes is slow/slugghish.
Same here.


I had a scene where copy and paste would take up to 4 minutes. This was unbearable. Large number of objects is the worst for some reason.

I managed to find some workarounds, mainly hiding nodes inside other nodes but navigating from one to the others still needs a few seconds. That's manageable though.

cyphyr

The trouble is that I don't get these issues with my older system and I can't understand why.

It's almost as if the Ryzen has sacrificed strength for speed.

Glad it's not just me though.

Say I want to click and drag a node connection. I will click on the small triangle below the node and wiggle the mouse waiting for the connection to "free up".

I do notice though that if I maximize the node window (so there is no 3D preview) everything becomes a lot more responsive so that does lead me to think it is something to do with the graphics card but that is not a great way to work.
www.richardfraservfx.com
https://www.facebook.com/RichardFraserVFX/
/|\

Ryzen 9 5950X OC@4Ghz, 64Gb (TG4 benchmark 4:13)

KlausK

#12
Is the 3D view on or paused while clicking and dragging a node connection?

When it is not paused it seems it is constantly trying to rerender renew the viewport which causes high cpu utilization and hickups in mouse movement on my box.

Can`t you put the graphics card from your old system in the render machine to test?
I used different GPUs in the Xeon box and there was no noticable difference in viewport response behaviour.
Now I use a Nvidia GTX 1070i with 8GB of RAM. Well, if that is not enough, what is.
I bet, even newer cards would not take this pain away.

CHeers, Klaus
/ ASUS WS Mainboard / Dual XEON E5-2640v3 / 64GB RAM / NVIDIA GeForce GTX 1070 TI / Win7 Ultimate . . . still (||-:-||)

Kadri

#13

If i open another instance of Terragen (to copy and paste anything from one scene to another for example) it goes mostly much worse when RTP is enabled.
I get sometimes even blanc screen for a few seconds. As if the system is freezing.
It hints in that direction but i don't know if this related to the graphics card in some way or not ( RTP looks most of the culprit).
I wanted to disable some cores with Task manager yesterday for example but i could not even do that.
The mouse pointer and everything was freezing so bad i could only close Terragen...barely.

After using two instances of Terragen getting the render view to the front is hard too.
I can only get to view the render window by minimizing the main GUI.


 

cyphyr

Quote from: Kadri on May 26, 2020, 01:41:24 PM...

After using two instances of Terragen getting the render view to the front is hard too.
I can only get to view the render window by minimizing the main GUI.
Yes I have noticed something similar too, although always.
A render finishes and drops behind the Terragen window and refuses to come to the front. Only by minimising Terragen will the render output be the forefront window.
www.richardfraservfx.com
https://www.facebook.com/RichardFraserVFX/
/|\

Ryzen 9 5950X OC@4Ghz, 64Gb (TG4 benchmark 4:13)