DesignCAD 3D Max 2027 box
Now available

DesignCAD 2027

Hatches that follow their boundaries, an on-screen dial to turn your model, and a way to find any command by name, in a clean Windows 11 look.

FASTER DesignCAD REDRAWS

Started by jacklward, May 20, 2018, 07:35:08 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Rob S

#30
Jack

Did you notice that both my 10 yr old old Gateway at 4 sec and DR's supercomputer are running Windows 7?  The rest of the pack are on windows 10.

I wonder if windows 7 is partially responsible for those better results?

There are many things you can do to windows 10 to improve performance generally, but not sure how that will affect redraw times specifically.

https://www.makeuseof.com/tag/windows-10-faster-performance/

Also interesting is that my HP envy windows 10 basic laptop with only intel graphics (no separate video card) redraws your file at the same speed as your machine.
User since forever

jacklward

Rob S,

Its possible Windows 7 is faster, but even if it is, my guess is it would only account for a small percentage of the differences we are seeing. 

If Dr PR's benchmark test result doesn't explain the difference, I think I will reinstall Windows 7 and 3D 2018 on my machine and trying redraws, doing that should clearly show any difference between W7 and W10 since that would be the only difference in the tests.

Comparing laptops to my desktop may not be very informative because of the laptops monitor size, resolution, GPU and possible other proprietary hardware, etc.

Hopefully we will be able figure out how Dr PR system is getting 1 second redraws.

Jack

Rob S

Jack

I just tried the windows 10 settings for maximum performance (Control panel, system, advanced system settings, and select maximum performance)

This gives me a rather course screen font on menus, and eliminates all the pretty graphical effects.

Now your drawing as posted redraws in under 3 seconds, and with vector fonts in around 1 second.  I did not think it would make that much difference.

Now comes the painful procedure of slowly turning features back on until I find the main culprits, and get back some of the pretty effects!!!

ps my laptop full specs as follows

Windows 10 home creators update 64 bit
Intel i5 6200 cpu at 2.3 ghz
Ram 8gb
Display 1920 x 1080
Intel HD 520
User since forever

Rob S

It turns out that the setting which affects redraw on my laptop is the "smooth edges of screen fonts" in particular.  Given your times, you must have that turned on as well.

It is easy to turn on and off, and if you can live without it while drawing, you might cut your redraw time in half by that alone.
User since forever

jacklward

Rob S,

W10 > Search > typing...Adv > selected View Advanced System Settings > Performance Settings btn > clicked Adjust for best performance (unchecked everything).

3D 2018 redraw takes 2.7 seconds unchecked vs 6.3 seconds checked.

3D v20 redraw takes 1.9 seconds unchecked vs 3.0 checked.

v20 vs 2018 redraws v20 1.42 times faster unchecked and v20 2.1 times faster checked.

On my 4k screen there is a noticeable difference in the text quality on the screen especially when I am zoomed out on our typical 48" wide by 36" drawing, but I could live with it I think.

I assume that Dr PR had his settings set for best performance, too.

I am still hoping Dr PR's benchmarks will indicate how his 1 second redraws in 3D 2018 are being done.

Jack

Dr PR

Jack,

My Win 7 desktop does not, and will never, have a network connection. Therefore, it will not run the benchmark program you are using.

For what it is worth, the Windows Experience Index for the Win 7 Pro 64 desktop is:

Processor               7.8
Memory (RAM)        7.9
Graphics                 7.0
Gaming graphics    7.0
Primary hard disk   5.9

For the Win 10 Home laptop the scores are:
CPUScore               8.7
D3DScore               9.9
DiskScore               5.9
GraphicsScore        6
MemoryScore         8.7

Well, nevermind! According to these numbers my laptop has higher performance than the desktop. NOT!

****

A few years back Rob S created a SelectTest2.d3m macro for DesignCAD that did a lot of display scaling, rotation and display iterations that we used to measure relative performance between machines. It uses the SelectTest2.dcd file that has lots of text and dimensions. I have attached the files.

Just install both files in the same folder the DesignCAD uses for macros and execute the macro.

Here are the timing results for my machines with DC V27.0x64 beta 11:

Win 7 desk top:  00:00:05

Win 10 lap top: failed to run - a "fittowindow" function doesn't work in V27.0 beta 11.
I tried the macro with V24 on the laptop and just about every function failed - had to use CTRL-ALT-DEL to kill DesignCAD.

****

To find out what is using you CPU I recommend the Windows Resource Monitor program. It watches everything and records all activity so you can go back and see what programs are using what resources.

You can find it in the Windows/system32 directory.

The program is perfmon.exe, but if you just run the Performance Monitor directly you get a pretty stripped down result that isn't very useful (no history records). To get the full Resource Monitor you can open the Command Prompt window and type

perfmon.exe /res

I have created a shortcut on my desktop to run the Resource Monitor.

I just discovered that my Win 7 Pro Control Panel/Performance Information and Tools/Advanced Tools makes both the Performance Monitor and Resource Monitor tools available without having to use the Command Prompt.

****

The number of pixels being drawn may be the main difference between your machine and mine. I am using dual monitors on the Win 7 machine, and DesignCAD is running in the primary monitor at 1920x1200 pixels. The laptop is only 1366x768 pixels. So both machines have a lot less work to do to regenerate the DesignCAD display.

****

It has been several years since I researched display cards, but there definitely are two classes of graphics cards. Most are optimized for Direct X gaming programs, with minimal OpenGL support. These always are significantly slower for CAD work. Graphics cards that are optimized for OpenGL have OpenGL drivers that take advantage of on card graphics processors for hardware image processing.

Interestingly, the low end CAD Graphics cards are no more expensive then moderate priced gaming cards. In fact, it appears that Nvidia used to produce exactly the same hardware for gaming and low-end CAD, with different drivers optimized for Direct X or OpenGL. I don't know if they still do this.

On my Win 10 Home laptop the Intel Graphics Control Panel "Information Center" lists the driver/version installed for OpenGL 4.3.

A data sheet for the nvidia Quadro 2000 says it uses OpenGL 4.0 (written back in 2010).

Phil
DesignCAD user since 1987

Rob S

#36
FYI, on my old HP Pavillion where I happened to be sitting just now, the selectest 2 macro runs in:

14 seconds with font smoothing turned off,

36 seconds with font smoothing turned on.

On the Gateway, the selectest 2 macro runs in:

07 seconds with font smoothing turned off,

18 seconds with font smoothing turned on.

Thus independent of human reaction time observing the stopwatch..
User since forever

Dr PR

Rob,

Wonder why "fittowindow" fails on my Win 10 machine and works on the win 7 machine?

Any ideas?

Phil
DesignCAD user since 1987

Rob S

Definitely weird that two different versions of DCAD have problems.

I recall having some issues with the macro in red mode where it did not like the redraw or regen commands, DT at the time suggested an alternative.

However as far as I know it has worked on every other version recently.

Is the DCAD 24 version you are testing it on a full install with the files included that translate the macro commands (filename escapes me just now)   Does it run other macros correctly??

Maybe the V27 beta version has some needed files missing??

Seems unlikely any issue with windows 10, as two of my machines have that OS on.

I'm tied up with other things today, so maybe tomorrow will retest on older versions and see if any of them fail.
User since forever

Dr PR

#39
Rob,

I checked and I had not left the program running with RedSDK enabled. Just ordinary 2D Drafting mode.

I'm pretty sure the V24 is a full install - V24.1 21-Nov-14. I just tested this version on the Win 7 Pro 64 machine and I got the same error messages.

Phil
DesignCAD user since 1987

Lar


Well guys, just taking a moment to say my record 15+ seconds redraw may be in jeopardy. What happens is my system draws about 2/3 of the file then starts again, sometimes twice or 3 times. I was timing all that, since I would have to wait for all that to finish if pressing Esc didn't halt the drawing. If I time just a complete redraw it comes in around 6-7+ seconds (was difficult to time since I had to restart when the regen restarted). I tried on the dc2018-32 bit and the restarting never stopped. Had to shut it down.


Lar

jacklward

Good Morning All,

I did some more checking, I have OpenGL v4.5 installed, so that doesn't appear to be the issue.

I downloaded OpenGL Extensions Viewer from http://realtech-vr.com/admin/glview (a page or 2 down is the windows logo above Download for Windows), zipped file attached, ran it > selected Rendering tests > selected the last test in list, 4.5 in my case > clicked the gray box with the black arrow in it to run it.

Based on those rendering tests, see attached file, it appears that my redraw times are directly related to my 4K monitor having 4 times the number of pixels per screen as your 1K monitors.  The test runs the 1920x1080 test in that size window.

Test 4.3 results were FPS=1007 (3840x2160) and FPS=2345 (1920x1080), my guess, based on those results, is that if I was using a 1K monitor instead of a 4K monitor my redraws might be 2.3 times faster.  I'm sure it is not that simple, but it might be.  I tried the 1K settings at 60 Hz and got the same results, so my monitor running at 30 Hz doesn't appear to be a consideration.

Unfortunately, I feel like we are back at square one because now it appears we are really comparing apples and oranges.

If you guys could run the OpenGL test it might shed some light on the speeds of our GPUs and see if my monitor is the problem.

While I'm on the subject why aren't you two using a 4K display?  They are incredible, I've been using one for 6 or 7 years now.  If your graphics card will support it your looking at a couple hundred dollars for a 40" display at Amazon.  Once you see what 4K can do you would never consider using a 1K screen again, especially for DesignCAD, basically, going from 1K to 4K is like going from an old analog tv to an HD flat screen, I assume both of you are old enough to remember analog screens, Osborne, Kaypro, Radio Shack, etc.  For everything but DesignCAD I have two windows open side by side.  If you have room you can go even bigger than 40", I have pretty good eye sight but I like my text size at 125% as 100% is a little too small.

The OpenGL test may give us some indication of our systems relative GPU speeds for future reference.

In any case, I have to get some non-DesignCAD programing done now so I have to go.

Jack

Rob S

Jack

I would be very interested to know if you did you try turning the windows text smoothing option off, to see if you get the same speed improvements with your 4K monitor as I have noted above?

Also, if/how the font quality onscreen is affected?
User since forever

Rob S

Dr PR

I just finished running selecttest2 on all the installed versions of Designcad I could find, from V20 through V27, and it ran without any error messages on all of them.

All I can think of is that some customization you have incorporated into your install from other versions has broken one of the commands whose alias may have been changed, as they did from time to time.

as I have heard it said "Good luck with that"

User since forever

jacklward

Rob S,

See my Reply #34, see unchecked times (no text smoothing) aka w10 performance setup.

On my 4K monitor, unchecked, text quality is a slightly lower quality overall, barely noticeable, see attached pdf files.  The performance setup is slightly pixelated and because there is some white in the text it appears a little lighter.

To compare to your monitor,  load my A6 drawing, resize your dcad window to left half of your screen, the zoom factor at the bottom right of the screen showed 129% on my screen at that point, I then zoomed in to 1029% for the screen shots.  Zoom in to 1029%, copy to clipboard (print screen) create a pdf from the clipboard then compare the pdf with mine to see the difference 4K makes.

Jack