News:

Please note new Forum URL: forum.designcad.com

Main Menu
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.

Dr PR

I agree with Jack that the display routines are the bane of DesignCAD.

But there is more to it than just the redraw times. The decision making process of what to redraw and when is totally screwed up. That's why you may get as many as 17 window redraws every time you edit the drawing. The redraw routines aren't particularly fast, but redrawing over, and over, and over, and over, and over, and over, and over, and over, an over, and over, and over, and over, and over, and over, and over, and over, and over is the real time consumer.

****

I have V15.3 installed on the same Win 7 Pro 64 machine as V27.0 (3.2 GHz 6 core i7, 32 Gbytes DDR3 1600 RAM, Nvidia Qattro 4000 video, 1920x1200 pixels. I opened the same file on both machines and timed screen redraw with only the "main" window open.

The file is a 3D drawing that is 286,817 Kilobytes (287 megabytes) and has 862,420 entities and 6,433,384 points - a large file.

I first switched to (GDI) wireframe display, enabled all layers and then zoomed in to a blank part of the screen. Then I used CTRL W "Fit to Window" to zoom back out and redraw the entire drawing.

V15.3: 15.99 seconds
V27.0: 9.42 seconds

Note: I timed with a stopwatch so allow at least +/- 0.25 seconds for my reaction time.

First of all, I was surprised that the old 32bit V15 would even open a file that large. The largest file I ever succeeded in editing with V15 was only 60 Mbytes. Of course, I didn't try to edit the large file in V15.

All in all, given that V15 is a 32 bit program and V27 is a 64 bit program, it really isn't much of a surprise that V27 is almost twice as fast.

I repeated the tests with a 2D drawing that is 22.7 Mbytes with 199,362 entities and 803,203 points. Same procedure as before.

V15.3: 3.65 seconds
V27.0: 2.28 seconds

Same caveat as before about my reaction time.

****

One of the reasons some newer machines appear to be slower than older machines is that we have all sorts of background garbage running. All of this slows down everything, including DesignCAD.

Another thing that slows things down a lot is trying to operate over a network with the program and data on different machines. Everything is limited by network speed, and no long serial network can ever be as fast as short internal parallel data paths.

Many people are using laptops that have inadequate cooling. They are OK for slow operations like typing or viewing email, but things like photo editing and CAD rendering generate a lot of heat, and the processors slow down to avoid overheating.

Phil
DesignCAD user since 1987

Dr PR

Jack,

I would say there is something seriously wrong with your setup.

Comparing your machine and drawing speed to mine using DesignCAD 3D MAX V2018 (V27.0):

                                   Jack's machine    Phil's machine
CPU speed                  2.66 GHz            3.2 GHz                    3.2/2.66 = 1.2x faster CPU
File size                       1.1 Mbyte           22.7 Mbytes             22.7/1.2 = 20.6x larger file
Number of entities      3228                   199,362                   199K/3K = 61.8x more entities
Redraw time               6.3 seconds         2.3 seconds            6.3/2.3   = 2.8x redraw speed
Seconds per entity     0.005576             0.0000115              483x entities per second

So, adjusting for my faster CPU speed and number of entities per second:

483x entities per second/1.2 CPU difference = 402x entities per second faster.

It would seem my 3.2 GHz machine is about 400 times faster than your 2.66 GHz machine running V27.0 at equivalent clock speeds.

My CPU has 6 cores and yours has 4:

402 * 2/3 = 268.3 x faster at equivalent number of cores.

You are displaying 3840x2180 pixels, and I am displaying 1920x1200 pixels, or only 0.275 as many pixels to generate.

268.3 8 0.275 = 73.8 times faster per pixel.

This doesn't explain directly why V27.0 (version 2018) is slower than V15 on your machine, but it does indicate that there is room for improvement on your machine

With V15 on my machine, using the same file:

                                   Jack's machine    Phil's machine
CPU speed                  2.66 GHz            3.2 GHz                    3.2/2.66 = 1.2x faster CPU
File size                       1.1 Mbyte           22.7 Mbytes             22.7/1.2 = 20.6x larger file
Number of entities      3228                   199,362                   199K/3K = 61.8x more entities
Redraw time               6.3 seconds         3.7 seconds            6.3/3.7   = 1.7x redraw speed
Seconds per entity     0.005576             0.0000186              300x entities per second

300/1.2 = 250 *2/3 = 167 * 0.275 =  45.8x faster when adjusted for clock speed, number of cores and number of pixels displayed.

****

Are you running the 64 bit version of V27.0 (V2018?).

Are you running on a network with your drawing files cached on another machine?

Have you installed OpenGL?

Is your computer a laptop?

Is the RAM actually running at full data bus speed? Most RAM does not run at the advertised speed unless the system is modified in  some way from the default settings.

This is tricky - many manufacturers tout their DDR3 1600 (or DDR3 2300) RAM, but it will not actually operate at 1.6 GHz (or 2.3 GHz) unless the bus voltage is boosted.

CAUTION: Using the manufacturer's settings in the RAM on-board data ROM may destroy your CPU. The i7 maximum data bus voltage is 1.5V. Some manufacturers RAM will boost the data bus voltage to 1.65V or higher to get fast operation, but this will fry ordinary CPUs.

I use a Corsair RAM that actually runs at 1.6 GHz bus speeds at 1.5V. It was the only RAM that would work at full seed at 1.5V when I built the machine several years ago.

Phil
DesignCAD user since 1987

Rob S

It seems to me to be confirmed that Designcad particularly 2D redraws seem to depend mostly on processor and ram speed, and do not benefit greatly from video card routines.  I believe they only use one single core, no matter how many you have.

My HP i5 laptop is just as fast as my i7.

For comparison purposes, it would be great if we could all be using the same drawing on different machines.   Jack, I agree your test results based on the information provided seem to be out of line on the very slow side. 

Would you be willing to zip and post the drawing you are using for your tests, so we can determine for sure if it is your machine, or something else?

As mentioned above, anything drawn using wide lines or lots of text or curves will be much slower than a 3D drawing in wireframe, which basically consists of 1 pixel wide vectors.

User since forever

Adrian 2.0

I too was going to ask if you can post a drawing that results in your slow regen speeds.
For me, regenerating in 2D drawings is never a problem & I'm typically working with files from 1~10mb.

I checked a few old files for regen speed today - and all were under 2 sec, mostly so close to instantaneous as makes no difference.

I do know that some elements in drawings can take a long time to redraw, and I've trained myself over the years to never use them in my work.
Hatch patterns with very small scale can be a nightmare. (A line hatch scaled to look like a solid colour can cripple your machine)
Blocks. While they definitely save on file size when your file is closed, they seem to take up more memory when the file is open than if each repetition is exploded.
Vectored lines with too many points. If you combine arcs to form a continuous line the resulting mass of points can really blow out the file size.

As an example I tried 2 files that I know from experience suffer from redraw times.
The first is 96mb and is a government issued contour map for the whole of Phuket - 2.9m points & 5,600 blocks.
After the initial load that takes about 6 seconds it regenerates in less than 2, even when displaying the full drawing on screen.
The second is 9.1mb - a survey plan that has a huge number of trees drawn as blocks, and a heavily hatched 'ocean' graphic.
That takes about 11 seconds to regenerate. It has 237,866 points and 23,202 blocks.

So, a file nearly 10 times larger regenerates in nearly 1/10th of the time.
As I said, it'd help if we could see one of your problem files. Narrowing down if something in the file is causing the issue gives our programmers a target to try to fix.

Adrian

jacklward

#19
Everyone,

Attached is the file I used for testing. 

As far as I know there is nothing special about it.  It was just the first one I loaded.

I am running the latest trial version of DesignCAD 3D 2018 64 bit (downloaded 17 days ago).
IMSI is working with me to try the 2D 64 bit version but their activation codes would not work yesterday, hopefully they will today so I will have numbers for the 2D, which I doubt will be any different.
My machine is a stand alone desktop.  It is not on a network. Nothing in the background should be a problem.
My cpu temp, etc. are monitored and my cpu has more than adequate cooling.
I have not had any reason to run system bench mark tests recently but have many times in the past, and mine have always been near the top of similar systems so I doubt that is the problem.

My System Specs...
Windows 10 x64 (Latest Updates)
Intel Core i7-920 2.66ghz CPU
12gb DDR3 1600 Triple Chanel Memory
AMD Radeon HD 7850 2GB 256bit GDDR5 Memory Graphics Card
Seiki 39" 4K Monitor (3840x2180)

Dr. PR,

Please try the attached file.
I hope you are right about my system being the problem, as I can fix that easily.
Please let us know if your machine really does get "near instantaneous" redraws with my small file.
With respect to my hardware being the problem, when I ran the same file using DesignCAD 3D 64 bit 2018 with RedSKD option selected my system actually did redraws instantaneous, I would think that was a pretty good test of my hardware, without RedSKD option selected it took 6.3 seconds.
I have not changed the recommended voltage, etc., basically, my system is all stock.
I have NOT installed OpenGL.  If you think that will help 2D redraws, please let me know where to get it and how you installed it, etc.
My RAM and CPU are unmodified (using default settings).

Rob S,

File is attached.  Please let me know your results.
My drawing has a lot of wide lines and text, as do all my Architectural plans.

Adriank,

File attached, please let me know your results.
My drawing also has hatch patterns as do all my architectural plans.

Thank you all for your interest in my problem.

Jack

Lar

#20


Your true type dimensions is what's taking up all the time.


On my HP laptop it took 15 seconds to regen everything.<<update: my laptop generates about 2/3 of the drawing, pauses for a few seconds then restarts the regen. The 15 includes all that. If I time just a complete regen it takes somewhere around 6-7++ seconds>>


I changed all the text to vector fonts and it took 14 there abouts,


I then changed all the dimensions to vector fonts and it took 3+ <<single regen, no restarts, no pauses>>

I changed everything back to true type fonts then put all the text on 2 different layers and the dimensions on 1 other layer, turned off the dimensions layer and it took 2+ seconds.



Until we get Red's replacement incorporated I would just put things on different layers. After changing all the fonts back to true type I put the two top strips on a different layer, turned everything else off and it took -1.25 seconds (which actually felt pretty slow for the amount of visible content).


Note that, while my laptop is not at all fast, in Cinema 4D, with a 10+ meg 3D file exported from dcad, shaded redraws are instantaneous, orbits are real time, dynamic boole operations (eg, dragging an object to be subtracted through it's host) are real time, dynamic extrusions (eg, dragging points of the host spline so the extrusion changes) are real time. I was doing real time orbits back in the late 90 (ie, in the x86 days before the Pentium chip) with models exported from dcad to other apps. Dcad's display code juts never kept up with the rest of the industry.


Lar

jacklward

#21
Lar,

Thanks for the info.  Assuming your using 2018 3D, it was good to see yours took almost 2½ times longer than mine (15 vs 6.3), based on that, it is most likely DesignCAD and not my hardware. 

I changed the dimension and text fonts to vector and put them on different layers.
I'm back using 3D v20, which, on my system, is over 2 times faster than 3D 2018, (3.0 seconds vs 6.3 seconds).

With all layers turned ON, using vector dimensions and text, my redraw time using 3D v20 went from 3.0 seconds to 2.3 seconds a savings of 0.7 seconds.

Except for Architect, all the vector fonts I tried look terrible.
Unfortunately, the Architect Font's text is about 60% wider than Arial Narrow Font's text.  As you can see from our drawing, Arial Narrow barely fits in many places, so using Architect would require completely redoing most of our drawings which is not really an option. 

We are constantly looking for a good looking, readable font that is narrower ( more condensed), not wider, than Arial Narrow, so far, without success.

For us turning off dimensions and/or text really isn't an option, since most of the time we are editing entities and their respective dimensions and/or text at the same time.

Jack

My System Specs...
Windows 10 x64 (Latest Updates)
Intel Core i7-920 2.66ghz CPU
12gb DDR3 1600 Triple Chanel Memory
AMD Radeon HD 7850 2GB 256bit GDDR5 Memory Graphics Card
Seiki 39" 4K Monitor (3840x2180)

Lar

#22


Sorry, concerning changing the font, I should have said to use vector fonts when working and switch back to true type fonts when printing. But that only works easily if all your tt fonts are the same type (different sizes doesn't matter).


If you put strips on different layers then you probably wouldn't have to change to vector fonts.


I didn't know dcad had slowed down so much. I did know something changed when my floating info box always jumped in front of my custom tool bars (and even many dialog boxes) when ever there was a regen.


I'm waiting to hear what times the other guys with super systems get with dc2018. Honestly, though, I'll be hesitant to get a super system if I then can't halt regens by pressing Esc, which I'm assuming is a fault of the graphics card. I've had the Intel generic video card consistently for many a laptop over the recent years and I'm now thinking it's that card which allows the regens to be halted.



Lar


Quote from: jacklward on May 23, 2018, 06:50:48 AM
We are constantly looking for a good looking, readable font that is narrower ( more condensed), not wider, than Arial Narrow, so far, without success.
I once created my own vector font, back in the DOS days. I can't remember if it was a feature of dcad's or I did it through windows. Dcad didn't have the architectural font then so I created my own (I created all the caps and lower case letters and only the main symbols. Those bunch of never used symbols got left out). I even created a font for leaves, since drawing leaves on trees used up so much memory.

jacklward

#23
Lar,

Not a problem, I thought about switching back and forth but none of the vector fonts I looked at were condensed enough, plus we use other fonts for emphasis and clarity so it would be a lot of extra work to save 0.7 seconds per redraw (3D v20, 3.0 seconds vs 2.3 seconds).

I've been complaining for years to IMSI about the redraw speed, v15 was the first I tested for redraw speed, as I recall it was also slower than the previous version I was using then.  Frankly I thought v15 was slow but its competitors (that I tried) weren't much better.

That is not the case today, DesignCAD's competitors (all I have looked at) are exponentially faster than DesignCAD 2018.  DesignCAD using my attached drawing on my computer has gone from 1.7 seconds (3D v15) to 6.8 seconds (3D v23), a 400% increase, to 6.3 seconds (2018 64 bit), a 370% increase from v15.

FYI, I do not recall us ever having a problem with Esc not stopping redraws, on any version we have tried, but we are only doing 2D not enormous 3D drawings.

Jack

Rob S

#24
So, my initial findings are that having tried three different computers and about 5 different versions of Designcad back to V21, they all regen as posted in about 4-7 seconds.  So not significantly different from your machine.  Be interesting to see whatr DR pr comes up with using his supercomputer!!!

Windows 10 Laptops - One year old HP Envy i5 6 seconds, 7 year old HP pavillion i7 6-7 seconds  both around 3 seconds with vector fonts

Fastest is my 10 year old Gateway windows 7 destop i7 2.8 ghz at 4 seconds as posted, and around 2 seconds with vector fonts.  This was always a fast machine, and not sure why exactly.

One of the versions on the pavillion was regenning 3 times on every redraw, but it stopped doing that after a while, not sure why.

I found the change to vector text font for dimensions only (and not simplex) reduced my regen from 6 to just under 3 seconds, so for me at least twice as fast.  I also tried simplex, and that got it down to about 2 seconds.

I also found one of the vector fonts being Guymon Light Condensed that is quite nice and almost as narrow as Arial Narrow, also subsequently Gillian light is actually narrower than the arial narrow.

Thus. it seems there are many things you theoretically could do to speed things up, but due to your established practices, these all might be a bit difficult.  Still, you may find some of the suggestions useful to keep in the back of your mind for future.
User since forever

jacklward

Rob S,

I will take a look at the fonts you mentioned.  Thank you.  I too look forward to seeing what results Dr PR gets.

It a shame that we are all having to try to find work arounds while DesignCAD gets slower and slower.

IMSI needs to hear from us users that this is a real problem that they should be addressing.

I for one am tired of new versions that have a few (for the most part unnecessary) new commands that just seem to increase the redraw times.

A 400% increase in redraw times from v15 to v23 is ridiculous. 

RedSKD showed me that instantaneous redraws with 3D 2018 are possible today? 

How many years will we have to wait for IMSI to implement something similar?   At this rate it may not happen in my lifetime.

In the meantime everyone in my office is back using v20 that has no support, its that old.

I still haven't posted 2018 2D times because IMSI tech support still hasn't figured out how to activate my trial version.

Jack

Rob S

I think you will find the 2D only version performs exactly the same as the 3D max.

The rendering code is basically identical, they just strip out the 3D menu items.
User since forever

Adrian 2.0

I'm using a 1 year old Lenovo Ideapad 710S+
I7 7500U / 2.7Gh with 8Gb ram

V27/27th Feb2018

Firstly, I got 2 missing symbols I had to ignore on loading. Don't know if they are an issue or not...
My initial load took about 8 seconds (if I deduct the time it took to cancel the symbol search)

A full screen redraw takes about 4.7 seconds for me - and yes, I can confirm it's the dimensions that are taking 90% of that time to load.
If I filter-select just the dimensions it takes 4.2 seconds to select them all, but here's an interesting twist - it takes more than 10 seconds to de-select them again!??

Hope that helps...
Adrian

Dr PR

Jack,

I opened your drawing on two machines and here are the results for redrawing the entire drawing. I used "Fit to Window" (CTRL W) for the tests to redraw the entire drawing. "Regenerate" (CTRL R) took about the same time to redraw the screen. I made no modifications to the drawing, and just redrew it as it appeared on the screen after loading.

NOTE: I was using a hand held stopwatch, and the timing was subject to my reaction time. I figure that varied at least 0.25 - 0.35 seconds from test to test.

On my 2 GHz two core i7-4510U laptop with 12 Gbyte RAM and an Intel HD 4400 video, running the latest Win 10x64 Home:

V27.0x64 beta 11 - 5.66 to 5.78 seconds
V24.1x32 - 5.67 to 6.11 seconds

These are the only versions of DesignCAD I have on the laptop.

My six core 3.2 GHz i7-3930K desktop running Win 7 Pro 64:

V27.0x64 (V2018) - 0.84 to 1.09 seconds
V26.2x64 (V2016) - 1.05 to 1.09 seconds
V25.2x64 - 0.9 to 1.01 seconds
V25.1x32 - 0.74 to 1.10 seconds
V24.1x32 - 0.95 to 1.05 seconds
V23.1x32 - 0.88 to 1.09 seconds
V22.1x32 - 0.94 to 1.02 seconds

With V15.3 the program crashed. The file loaded and displayed OK, but after that "Fit to Window" just produced a blank screen, and the program crashed after several tries. I have never had V15 crash like this on this machine.

So V22 through V27 all took about a second to redraw the entire drawing. I think it is interesting that there is no significant difference between the timing on x32 and x64 versions of the program.

****

I have OpenGL installed on both machines. It was a part of the normal video driver installation from Intel and Nvidia. Virtually all CAD programs run OpenGL - it was designed specifically for rendering vector graphics. This may be one of the speed advantages my machine has - Nvidia is generally considered to have by far the superior OpenGL drivers.

The Nvidia Quadro 2000* video card was designed to run OpenGL - It has 192 graphics CPUs and the OpenGL drivers use this hardware acceleration. I chose it specifically for it's CAD capabilities, and because it would run all of RedSDK's features. It is a "low end" (cheap) CAD graphics card. There are much newer CAD cards from Nvidia now.

Most video cards are designed to run games, and they use gaming drivers (Direct X) that don't run OpenGL very effectively. I think RedSDK required OpenGL, so if you were running RedSDK you must have OpenGL drivers on your machine.


Phil

* I think I said earlier that it was a Quadro 4000 - my mistake.

Come on guys, give me a break. If I recall correctly, a couple other people on the forum have machines that leave my so-called "supercomputer" in the dust!
DesignCAD user since 1987

jacklward

#29
Dr PR,

I am not sure I have OpenGL running, but I definitely had RedSKD running and doing instantaneous redraws.  Is there anyway I can check if OpenGL is running?

If I am reading your post correctly, on your desktop, using v22 thru v27, redraws were nearly identical at about 1 second and on your laptop 2 versions were about 5.7 seconds.

What I would like to figure out is how your desktop is doing 1 second redraws in 3D 2018, while yours times aren't instantaneous like 3D 2018 with RedSKD, my office could easily live with 1 second redraws vs 6½ seconds plus we could upgrade to 3D 2018.

I've tried to reconcile our system differences without much success.  Let me explain...

PassMark (https://www.cpubenchmark.net/cpu_list.php) shows your desktop cpu's relative speed at 12013, your laptop cpu at 3935 and my i7-920 at 4935. 

Based on those relative speeds your desktop should be about  2½ times faster than mine, not 6.3 times faster and your laptop should be 20% slower not 10% faster.  The laptop difference may be explained by the monitor differences, mine is 39" x 3840 x 2180.

After seeing both of your machines were running considerably faster than they should be (when compared to mine) I concluded that there must be a problem with my system.

To test my system,  I used UserBenchmark at http://cpu.userbenchmark.com/Software I used their free download and just ran it, my results are attached.  Much to my surprise my cpu (vs systems with the same components) was well above average (74th percentile), my gpu was average (48th percentile) and my memory above average (59th percentile).  I ran the test 4 times, all results were similar.  Based on this my equipment is running above average so that makes your systems redraw speed even more spectacular.

It would be very helpful if you could post your systems UserBenchmark results so I can compare your itemized cpu, gpu and memory results to mine (see attached) to try to determine why your system is so much faster comparatively.  The link is http://cpu.userbenchmark.com/Software > free download.

I think your results will be very helpful and enlightening.

Also what size and resolution monitor are you using?  I'm not sure if that makes any difference in redraw speed.  I reduced my display resolution to 1920 x 1080 but I get the exact same time as when the resolution is 3840 x 2180.  Changing my display settings may not be the same as having an HD monitor hooked up, I don't know.

In closing, hopefully your results will give me some answers and not just more questions.

I would love to know exactly how you are getting 1 second redraws.

Jack