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.

jacklward

For some reason the other attachment didn't get posted, it is attached

Rob S

Sorry, I missed seeing that response entirely for some reason. 

Using my Selecttest2 macro I was able to confirm your experience that V20 was also significantly faster on my Gateway being the only machine that still has V20 on it

Text smoothing off  -- V20 4-5 seconds -- V27(2018) 7 seconds

Text smoothing on    -- V20 11 seconds -- V27(2018) 18 seconds


In any case, if IMSI is at all interested in improving Designcad performance for 2D drawings, the two items uncovered in this thread:

- V20 being significantly faster on 2D text heavy drawings than all subsequent versions

- Windows text smoothing more than doubles redraw times even for drawings where the fonts are so small as to be nearly invisible

should provide some clues as to where to look.
User since forever

Dr PR

You know the old adage "A good deed never goes unpunished?"

I tried the GLview program Jack mentioned. It ran on my laptop but wouldn't run on my Win 7 Pro Machine. A message came up saying it needed Net Framework 4.0. I checked and Win 7 only had Net Framework 3.5.

The Win 7 machine is my main work platform, and is very stable with the programs I use. I am loathe to make any changes to it. But I decided to install Net Framework 4.

First I did a full backup of Drive C. That took all morning.

Then I installed Net Framework 4.

Then I installed the GLview program and ran it.

For "Rendering Tests" it says to choose the "OpenGL Context" and lists 10 options. I have no idea what this means! For  most of these options the program sometimes crashes.

The "Summary" screen says the machine has OpenGL Version 3.3.

The "GL Report" screen says the machine "Core features" 3.0 through 4.3 are 100%.

But if I select any of the Rendering Test "forward contexts" (what does this mean?) 3.0 to 4.3 I get an error message saying OpenGL N.N is not supported! Nothing is displayed during the test. However, the rendering test report says all tests passed with 0 FPS!

****

Rob,

Here is the real clincher. I feared Net Framework might screw things up. Sure enough, when I run your Selecttest2 macro now on my Win 7 machine, "fittowindow" doesn't work.

So maybe it is Microsoft Net Framework 4 that screws up DesignCAD's macros. That would explain why it doesn't work on my Win 10 machine.

However, redraw of the display of Jack's drawing in V27.0 still takes only about a second on the Win 7 machine.

****

In any case I will now uninstall GLview and Net Framework 4 and hope the macro works again. If not I will restore from the backup and keep my fingers crossed.

One whole day lost!

Phil


DesignCAD user since 1987

Rob S

#48
I would call that having a very bad day!!

Having additional versions of net framework installed "should" not affect your macros

according to this

https://www.raymond.cc/blog/how-to-check-what-version-of-microsoft-net-framework-is-installed-in-computer/

I have the following:

Installed .NET Framework packages

.NET Framework 2.0 Service Pack 2   ver: 2.0.50727.4927
.NET Framework 3.0 Service Pack 2   ver: 3.0.30729.4926
.NET Framework 3.5 Service Pack 1   ver: 3.5.30729.4926
.NET Framework 4.7.1   ver: 4.7.02556
User since forever

jacklward

#49
Phil,

Sorry to hear about your good deed going so wrong.  I do appreciate the effort.

I would highly recommend you restore your backup not merely try to remove the programs. 

I have used Revo Uninstaller (free version) for years to remove programs and after it uses the programs uninstaller it hunts down leftover items, sometimes it finds hundreds of items the installer either missed or left intentionally.

In any case, restore gets you back to where you were for sure and piece of mind.

Regarding your backup time, I have also used Paragon Backup and Recovery for years, its free version, it is very fast and may save you some time in the future.  It is the only reason I do not worry about installing new programs.  On my system it takes less than 15 minutes to restore the partition containing my w10.  I do separate differential backups for my C:\ partition and my D:\ partition and they each only take about 3 minutes on average once a week.  I keep all my backups on a separate HDD that I only use for backups, nothing else.  I do not hesitate to keep working while the backups are in progress (only problem I have ever had was when I forgot I was doing a backup and restarted the machine, obviously my fault not the software's).   If you try it make sure you create a recovery disk and TEST it.  Over the years I have had to use the CD to restore my system well over 50 times, maybe over a 100, most of those backups courtesy of windows updates and windows upgrades gone wrong.  If you want any more info on this let me know.


Rob,

Good to hear that your tests confirm how much faster v20 is than the new 2018.

To make matters even worse, v15 is considerably faster than v20,  v15 1.7 seconds vs v20 3.0 seconds vs 2018 6.3 seconds (all times with w10  best appearance settings ON).  I never tested v15 with w10 max performance settings on but I would guess it would be under 1 second based on all the tests we have done to date.

As I recall when v20 came out, IMSI had only guesses why our systems using v20 was so much slower than using v15.  The most used excuse was the problem was with Windows, next excuse was our hardware and so on but never their software.  I think our tests have clearly proven that it was the software all along and still is.

Until IMSI fixes the redraw speed my office will not be upgrading to 2018 or 2019 etc and will continue to use v20.

Jack

Dr PR

I did a complete restore for Drive C.

No joy. The Selectest2 macro doesn't run on any version of DesignCAD now.

Fortunately the one macro I use extensively (vc.d3m) still works. I would really be screwed if that didn't work!

The problem is my fault. My Win 7 Pro 64 machine has worked very reliably for years. Once I get a system that works I never change it - no more upgrades. This time I did, and now I am regretting it. I knew better!

****

For what it is worth, in the 42 years I have been using computers I have never had a virus (I have seen a few alerts that virus scan software has detected and deleted viruses). I have had to recover from a system crash only once, on a much used XP system that had drive C: crash. Yesterday and today are the first times I have ever had to restore from a backup. And my work computers are used just about every day - except when I am on vacation.

1. No computer on the Internet is "safe." Anyone with the resources (governments, large corporations, etc.) can access just about any computer on the Internet. So none of my work computers has a network connection - not even a local network.

2. I use a separate cheap computer for Internet browsing and email. Only a minimal amount of information is stored on that computer, and much of that is false information in case it is hacked.

3. Any files to be transferred from that network computer to my work computers are scanned by multiple virus scans and are then transferred via USB FLASH memory sticks. My work computers will not boot from USB devices.

4. I connect through my company's extensive multiple computer email system. They guys who program these computers wrote software for ARPANET before it was the Internet, and also developed some of the code for Linux and several other operating systems. Only once since we connected the company to the Internet has anyone hacked into that system, and then only into the email/Internet "receive" computer that is outside the company's network. We have separate "receive" and "send" systems inside and outside (five computers total, with different OSes) so denial of service attacks cannot limit our ability to get out on the Internet - and find the bastards responsible.

This gives me great immunity from hacking/viruses/malware/adware - as long as I practice safe computing when transferring files from the Internet to my system.

Phil
DesignCAD user since 1987

Rob S

#51
Well, that does seem rather painful.  This reminds me a bit of the person who is forever worrying about their health and taking great care to eat well, get exercise, and look after themselves, and it seems some people who seem to take no care at all are often just as well or just as badly off.

Must say, to me a computer without an internet connection is much like a fancy car without any gas.

These days, the majority of what I do involves using the internet to read forums, download files, send mail, shop for whatever, and etc, and even for the work I do, I like to take a break every short while and read up on whatever it is, or even just find out or remind myself how to do something I have forgotten.

I have to thank the internet for finding me solutions that I was able to implement myself for just about every computer  problem I have ever had, plus a lot of other non-computer related day to day things as well.

Having said that, over the years when we had our construction management business we used computers extensively ever since about 1987, starting with dos 360 floppies with dial-up modems, and every iteration in between.  We have probably owned about 20 or so computers and 5 smartphones, all the recent ones have had full time internet connections almost always via a router and home network.   All recent versions of windows, and a few other programs were able to and do constantly update themselves.   We have used probably hundreds of downloaded programs.  We did almost always run some kind of free antivirus, or more recently a paid version of Vipre, and now lately just windows defender on one of the laptops.

That noise you hear is loud knocking on large piece of wood going on here - in all this time I have experienced only one virus issue a few years ago that I know of and that was fairly easily cleaned up.  We have had a couple of hard drive failures, but no other major problems of any kind.

I must say though with almost everything we do now including banking, shopping, bill payment, investing, travel arrangements, and so on, if one of these scammers ever manages to break the internet for any length of time, it will bring the world to its knees.   Nothing seems to move any more if the web isn't working, including airlines, shipping, trucking, healthcare, etc.  You probably can't even die (officially) without logging in first.

So, not sure what the message is in all of this.  Getting up out of bed in the morning is risky, and after that it gets worse, and we all have to choose what risks we are going to try and avoid, at whatever cost it may be.


However, I am exceedingly curious how the change in your computer has affected my speedtest macro in particular, and not others.   

I was going to suggest a complete removal and fresh install of one of the recent versions, and retry, but hate to cause you any more grief.  By the way, how do you activate programs without an internet connection??

ps For your restore, did you actually delete everything first and reformat?   I suspect a restore will copy back missing files, possibly (or not) overwrite newer files, but it would probably not actually delete any files that weren't there before the restore.





User since forever

Dr PR

Rob,

I used the Windows Backup and Restore functions. I backed up everything on the C: drive (where all programs are located) and created a system restore. Later I restored the system and did a full file replace operation. Or at least I think that is what the backup/restore does. Obviously, something changed when I installed the OpenGL viewer and/or Net Framework 4 (I'd bet on Net Framework).

**

Another possibility is the change I have made from a dingle display to two monitors. That did screw up the RedSDK Turbine Demo - with two monitors (and the desktop spread across both) the Turbine Demo runs full screen showing only the left upper quarter of the images in the right hand (primary) monitor. Nothing shows in the left monitor. Disabling the left monitor (the desktop doesn't extend across both monitors) restores normal full screen operation. The demo does run correctly with both monitors if it is limited to a reduced window.

I tried disabling the left monitor (desktop on only the right primary monitor) and then ran DesignCAD. The macro still doesn't work.

****

I do use the Internet all the time. I just do it through a dedicated computer. In the past when I have upgraded to a new and faster work machine I have just delegated my older former work machine to Internet browsing and email. However, for the last change I just bought a cheap laptop to be the Internet machine. This allows me to take the laptop with me when I am traveling and use the Internet. But there is never anything valuable or critical on the laptop. The only thing there of any importance is my email history. So even if the laptop was lost/stolen it would not compromise any of my work.

****

I do all software updates by loading the update files onto a USB memory stick - after they have been scanned by several programs for viruses. etc.

Then I plug the USB memory into my work machine, transfer the file to the appropriate folder, and run the installation. Needless to say, I don't use software that requires a direct Internet connection for updates.

On my Win 7 machine I installed the major update packages from Microsoft when the machine was new (yes, you can do this off line). After the system was running smoothly I froze it - no further updates. After all, most updates are just to fix bugs in Windows that are susceptible to hacking, and my machine canot be hacked. I don't have to worry about it.

I do occasionally update drivers, but that mainly is unnecessary because the operating system doesn't change.

This process has been very successful. I had two XP machines, a Vista machine, Win 7 machine and Win 10 machine all running, with only the Win 10 laptop on the Internet. The beauty of this is that I can still use thousands of dollars worth of hardware that works perfectly well on the XP machines, but would fail if I ever updated those machines because the manufacturers have not supplied drivers for newer operating systems.

The Vista machine recently died - drive C: failure. I did have some circuit design and PCB layout software on it that I occasionally used, but I also have the software on the two XP machines. So the loss of the Vista machine is not problem (except there are a few old versions of DesignCAD on it that I never installed on the Win 7 machine).

That Vista machine will soon be a Linux machine.

****

I do all meaningful work on my desktop machine, and it operates without any background network clutter to slow it down. For me speed is the main imperative, not security. With no network connection the machine is secure.

Every time I hear about some big corpporation getting hacked I just shake my head and wonder about the stupidity of the people running it. If they would just break the direct link between the Internet and their local network all danger of being hacked would be gone.

Of course that would require safe computing discipline by everyone with access to the local neatwork, and, in my opinion, most people aren't smart enough to accomplish this. Malware could be introduced into the local network, and it could wreak havoc, but no data could be lost to the Internet. Hackers couldn't steal customer information, socual security numbers, credit card numbers, etc.

****

One last thing. I am always amazed at the stupidity of people, expecially programmers, who assume that all computers are connected to the Internet! There are millions and millions of dedicated stand-alone process control computers working away with no Internet connection. For example, we have deployed many oceanographic instruments on buoys or on the ocean bottom far from any Internet connection. We have stand alone process control systems that operate without network connections. To upgrade these systems we make a direct connection in some manner (USB, wireless data connection, etc.) using proprietary hardware and software. They are safe and cannot be hacked. We do have some remote systems that are connected to the Internet (somethines through satellite links), and we can send software updates to these machines. But since the operating systems and update software are all proprietary in house, using highly encrypted data, the chance they will be hacked is very remote.

And, of course, my home computers work fine without any network connections. Because I do not have to continually upgrade to fix operating ssytem bugs that allow the system to be hacked because the last upgrade failed to fix the bugs the previous upgrade failed to fix ...., I rarely have to upgrade anything.

If it isn't broken, don't change it!

Phil
DesignCAD user since 1987

Dr PR

Rob,

I should also add that it wasn't paranoia or worrying about hacking that brought me to my current computer arrangement.

It was RAM availability and CPU cycles. On my Vista machine with 4 Gigabytes of RAM I discovered that Vista was hogging about 1.4 Gigabytes of system RAM, leaving only 2.6 Gbytes for programs and data. It was also running all sorts of background operations that consumed CPU cycles. So I tried disabling ALL startup programs - 244 in all. This disabled all network functions.

To my surprise DesignCAD still worked perfectly. Word and Excel worked perfectly! Photoshop worked perfectly! And Vista then used only 0.8 Gigabytes of system RAM, with minimal background operations using CPU cycles. DesignCAD ran noticeably faster - I think I posted timing results somewhere on the Forum.

Speed and RAM were limited for some of the programs and files I worked on. I was trying to edit 1.2 Gigabyte image files in Photoshop, and it saved about an extra 1.2 Gb internal RAM backup and image data, as well as using RAM for the program. As a consequence, there wasn't enough RAM for Photoshop to use, and it was doing a lot of virtual memory read/write from the hard drives. It was extremely slow (5-10 minutes) any time I changed zoom on the image or made global edits to the images. After neutering Vista Photoshop worked in RAM without virtual memory buffering, and it was a LOT faster (seconds instead of minutes)!

And I was working with +200 Mbyte files in DesignCAD and wanted all the CPU cycles for that.

****

After this I decided I didn't need the Internet for any of my applications (DesignCAD, Photoshop, Word, Excel, circuit design, PCB layout, circuit analysis, etc.) So I used an old XP machine for Internet browsing and email. After that I discovered that I didn't need to be constantly updating the software on the Vista machine. I did install service packs and new drivers, but that was a once a year problem. And I did occasional beta testing on new versions of DesignCAD.

All in all, there is very little necessity to update the off-line machines. If the applications work reliably pull the plug and cut the network connections. So I have continued this practice on the Win 7 machine, with the new Win 10 laptop for Internet connections. An additional benefit is that I do not have to worry that someone will hack into my work machine and hold decades of work for ransom or destroy all that work, but I doubt the likelihood that it would happen.

I really do not understand why anyone would want all that background clutter and incessant updating on a work machine!

Phil
DesignCAD user since 1987