OD startup slow down?

For users or potential users.
Post Reply
teethdood
Posts: 267
Joined: Sun Jul 29, 2007 12:39 am
Location: Visalia, CA
Contact:

OD startup slow down?

Post by teethdood » Thu Feb 02, 2017 7:18 pm

Versions 16.3 or less, OD splash screen takes only a few (~5) seconds before the Choose Database prompt.
In version 16.4, I'm seeing a severe slow down, ie 25 seconds or so.
Anyone else seeing this?
Philip H. Doan, DDS
http://www.kaweahdental.com/

User avatar
cmcgehee
Posts: 711
Joined: Tue Aug 25, 2015 5:06 pm
Location: Salem, Oregon

Re: OD startup slow down?

Post by cmcgehee » Mon Feb 06, 2017 8:51 am

If this slowness is happening before the Choose Database prompt appears, it could be because Open Dental is trying to connect to the database saved in the config file and is unable to. The connection attempt times out at 30 seconds. In the Choose Database window, try unchecking "Do not show this window on startup" and see if it opens faster the next time.
Chris McGehee
Open Dental Software
http://www.opendental.com

User avatar
jsalmon
Posts: 1551
Joined: Tue Nov 30, 2010 12:33 pm
Contact:

Re: OD startup slow down?

Post by jsalmon » Tue Feb 07, 2017 4:49 pm

We've had some sporadic reports of slowness before the choose database window shows but they seem to pick back up randomly.
It makes me wonder if something changed on your network recently. Does it take a long time to run the following command in a command prompt? It should be almost instantaneous.

Code: Select all

net view
The best thing about a boolean is even if you are wrong, you are only off by a bit.

Jason Salmon
Open Dental Software
http://www.opendental.com

teethdood
Posts: 267
Joined: Sun Jul 29, 2007 12:39 am
Location: Visalia, CA
Contact:

Re: OD startup slow down?

Post by teethdood » Tue Feb 07, 2017 7:16 pm

net view - instantaneous.

I didn't change anything in my network.
I just tested it again. 16.3 to Database prompt ~5 sec
16.4 to Database prompt ~34 sec
Philip H. Doan, DDS
http://www.kaweahdental.com/

User avatar
jsalmon
Posts: 1551
Joined: Tue Nov 30, 2010 12:33 pm
Contact:

Re: OD startup slow down?

Post by jsalmon » Wed Feb 08, 2017 9:27 am

Not much happens before that window shows. A little file I/O looking for config files and such. Maybe see if running OD as an Administrator speeds it up (so that we can start narrowing down what is causing the holdup at least).
The only thing I could see slowing the startup that much would be botched command line arguments. Are you using any of those?
http://www.opendental.com/manual/commandline.html
The best thing about a boolean is even if you are wrong, you are only off by a bit.

Jason Salmon
Open Dental Software
http://www.opendental.com

User avatar
jsalmon
Posts: 1551
Joined: Tue Nov 30, 2010 12:33 pm
Contact:

Re: OD startup slow down?

Post by jsalmon » Wed Feb 08, 2017 9:53 am

Interestingly enough all of the main modules call their "initializing" code before the choose database window even shows. Those should be very quick but those would most likely be the places that would change from version to version with inadvertent consequences to the loading time of Open Dental. Our CEO just told me he wants there to be an initializing section added to the splash screen so that users can see what the program is doing on startup. But that won't be a thing for at least another version or two.
The best thing about a boolean is even if you are wrong, you are only off by a bit.

Jason Salmon
Open Dental Software
http://www.opendental.com

teethdood
Posts: 267
Joined: Sun Jul 29, 2007 12:39 am
Location: Visalia, CA
Contact:

Re: OD startup slow down?

Post by teethdood » Fri Feb 10, 2017 7:26 pm

16.4 on windows server 2008 R2: 2 seconds
16.4 on windows 10 workstations: ~35 seconds
16.3 on ALL: 2 seconds

The only change I made between 16.3 and 16.4 was enabling Trophy bridge. Disabling it doesn't help. I'll keep playing around.
Philip H. Doan, DDS
http://www.kaweahdental.com/

User avatar
Justin Shafer
Posts: 596
Joined: Sat Jul 28, 2007 7:34 pm
Location: Fort Worth, TX.

Re: OD startup slow down?

Post by Justin Shafer » Mon Feb 13, 2017 12:05 am

Any DirectX OpenGL changes at startup? Just throwing this out there, I forget if OD does anything with DirectX at startup. Weird.

Breakpoints.... and debugging... You guys have a debug version?

Post Reply