New Windows option in 7.9 Beta 1 to make Logos faster

Page 2 of 7 (127 items) < Previous 1 2 3 4 5 Next > ... Last »
This post has 126 Replies | 8 Followers

Posts 2515
Erwin Stull, Sr. | Forum Activity | Replied: Tue, Aug 1 2017 7:40 AM

James Taylor:

Erwin Stull, Sr.:
save it as Filename.cmd

how did you accomplish this? when I attempt it says it an invalid name...

Hi James; Jonathan Pitts suggested that. You create a text file with the original command line as suggested by Faithlife, then save it with a cmd extension. TCBlack answered below.

Posts 1672
Randy W. Sims | Forum Activity | Replied: Tue, Aug 1 2017 7:54 AM

You don't need a batch file. Just create a shortcut on your desktop (right-click -> New -> Shortcut) to "%localappdata%\Logos\Logos.exe /ngen" (without parens).

Copy that shortcut, Right-click -> properties and change /ngen to /unngen.

You can also copy these shortcuts to your Logos toolbar.

My Base Packages

Custom PC: Core i7; 32GB RAM; GeForce GTX 970; Win 10 Pro
Samsung ATIV Smart PC Pro 700T: Core i5; 4GB RAM; Win 10 Pro
ASUS Nexus 7 | Google Pixel XL | Apple iPad Pro 9.7

Posts 6411
Forum MVP
Lynden Williams | Forum Activity | Replied: Tue, Aug 1 2017 7:57 AM

Andrew Batishko (Faithlife):
We're not entirely sure yet how this will be implemented generally. It can't be done completely automatically, since it requires elevation, and it has to happen after every time a new version is installed. Assuming that your experience is generally shared by others, we'll be taking a look at the best way to integrate this more cleanly.

Andrew, please find a way to automate this, even if there is a nag screen where you select a button that activates the code after each new install. 

Everything ever written in Religion and Theology formatted for Logos Bible Software.Logos Youtube Channel

Posts 122
Peter Lever | Forum Activity | Replied: Tue, Aug 1 2017 7:58 AM

Why cannot logos installer detect the OS and not make the faster startup default?

Posts 18468
Forum MVP
Graham Criddle | Forum Activity | Replied: Tue, Aug 1 2017 8:09 AM

In a post earlier in this thread Andrew did outline some technical issues in automating this but also said

Andrew Batishko (Faithlife):
Assuming that your experience is generally shared by others, we'll be taking a look at the best way to integrate this more cleanly.

Let's give them a bit of time to do that.Smile

Posts 5524
Forum MVP
Rich DeRuiter | Forum Activity | Replied: Tue, Aug 1 2017 8:16 AM

Randy W. Sims:

You don't need a batch file. Just create a shortcut on your desktop (right-click -> New -> Shortcut) to "%localappdata%\Logos\Logos.exe /ngen" (without parens).

Copy that shortcut, Right-click -> properties and change /ngen to /unngen.

Can you explain the reason for changing /ngen to /ungen

Thanks

EDIT: Never mind. I re-read the initial post and see that this is the process for undoing the /ngen process. [slaps forehead]

 Help links: WIKI;  Logos 6 FAQ. (Phil. 2:14, NIV)

Posts 1301
James Taylor | Forum Activity | Replied: Tue, Aug 1 2017 8:35 AM

Randy W. Sims:
"%localappdata%\Logos\Logos.exe /ngen"

Like this?

Logos 7.11 Beta 2  | Dell Lat. E5530 Windows 10 Pro 64, i7, 8GB, SSD | OSX 10.11.6 iMac 27" i7, 16GB, SSD | iPad Air | iPhone 7plus 5.7.2

Posts 1672
Randy W. Sims | Forum Activity | Replied: Tue, Aug 1 2017 8:54 AM

James Taylor:

Randy W. Sims:
"%localappdata%\Logos\Logos.exe /ngen"

Like this?

Yes, that looks right.

My Base Packages

Custom PC: Core i7; 32GB RAM; GeForce GTX 970; Win 10 Pro
Samsung ATIV Smart PC Pro 700T: Core i5; 4GB RAM; Win 10 Pro
ASUS Nexus 7 | Google Pixel XL | Apple iPad Pro 9.7

Posts 660
Jonathan Pitts | Forum Activity | Replied: Tue, Aug 1 2017 9:03 AM

Peter Lever:

Why cannot logos installer detect the OS and not make the faster startup default?

There should be an option not to do it. Logos already uses a vast amount of disk space. I'm not using Logos very much at the moment, and I am opting to save my disk space for other things.

By the way, has anyone noted how much disk space NGen on Logos uses?

Posts 1672
Randy W. Sims | Forum Activity | Replied: Tue, Aug 1 2017 9:20 AM

Jonathan Pitts:
By the way, has anyone noted how much disk space NGen on Logos uses?

Not much. I believe the compiled output are in "C:\Windows\Assmeby". Mine grows from 1.43GB to 1.78GB. There is no change in the size of the Logos folder.

My Base Packages

Custom PC: Core i7; 32GB RAM; GeForce GTX 970; Win 10 Pro
Samsung ATIV Smart PC Pro 700T: Core i5; 4GB RAM; Win 10 Pro
ASUS Nexus 7 | Google Pixel XL | Apple iPad Pro 9.7

Posts 660
Jonathan Pitts | Forum Activity | Replied: Tue, Aug 1 2017 9:25 AM

Randy W. Sims:

Jonathan Pitts:
By the way, has anyone noted how much disk space NGen on Logos uses?

Not much. I believe the compiled output are in "C:\Windows\Assmeby". Mine grows from 1.43GB to 1.78GB. There is no change in the size of the Logos folder.

Thank you. I may reconsider then.

Posts 231
Michael | Forum Activity | Replied: Tue, Aug 1 2017 4:17 PM

N

Hi  

does this only work with the beta only.? 

Would like to try with the standard stable version 

Mick

 

Mick
Posts 18468
Forum MVP
Graham Criddle | Forum Activity | Replied: Tue, Aug 1 2017 10:55 PM

Michael:
does this only work with the beta only.? 

Sorry this is only available with the beta release

Posts 1495
LogosEmployee

Michael:

does this only work with the beta only.? 

Would like to try with the standard stable version 

If you can locate the ngen program, you can run it directly rather than using the Logos command line parameter.

A clue to its location can be found in the title bar of the third screenshot of the initial post.

Microsoft documentation for the ngen tool is here: https://docs.microsoft.com/en-us/dotnet/framework/tools/ngen-exe-native-image-generator

You'll want to use the install action.

Posts 1712
Donnie Hale | Forum Activity | Replied: Thu, Aug 3 2017 7:01 AM

Andrew Batishko (Faithlife):

If you can locate the ngen program, you can run it directly rather than using the Logos command line parameter.

A clue to its location can be found in the title bar of the third screenshot of the initial post.

Microsoft documentation for the ngen tool is here: https://docs.microsoft.com/en-us/dotnet/framework/tools/ngen-exe-native-image-generator

You'll want to use the install action.

Assuming the Logos command line parameter simply invokes ngen with the right parameters, someone on the beta program could use task manager or similar to grab the ngen command line that Logos invokes and post that here in the forum. I'm not on the beta program.

Donnie

Posts 1569
Gao Lu | Forum Activity | Replied: Thu, Aug 3 2017 11:30 PM

Randy W. Sims:

You don't need a batch file. Just create a shortcut on your desktop (right-click -> New -> Shortcut) to "%localappdata%\Logos\Logos.exe /ngen" (without parens).

Copy that shortcut, Right-click -> properties and change /ngen to /unngen.

You can also copy these shortcuts to your Logos toolbar.

Great!  Thanks.  I LOVE this new speed.

Posts 1569
Gao Lu | Forum Activity | Replied: Sat, Aug 5 2017 6:38 AM

Other than faster load time with NGen, if I don't often re-open Logos, is there actually a penalty for using NGen, as JIT compiled code is actually faster than NGen once methods are compiled?  I will fiddle with this.

Posts 1221
PL | Forum Activity | Replied: Sat, Aug 5 2017 2:28 PM

Just about every aspect of the program is noticeably faster. 

I haven't been this excited about the speed of Logos in a long time (since Logos 4).

Peter

Posts 231
Michael | Forum Activity | Replied: Mon, Aug 7 2017 2:09 PM

Hi

Got it installed , working with standard stable version.  l am not using  beta version 

It is definitely faster on startup and lightning fast with searches

Is there any particular search test you would like me to do

MickSmile

Mick
Posts 231
Michael | Forum Activity | Replied: Tue, Aug 8 2017 6:49 AM

Hi

I've just checked the log file ngen 

This is what I'm getting 

08/08/2017 14:43:30.290 [6772]: Command line: C:\Windows\Microsoft.NET\Framework\v4.0.30319\ngen.exe install D:\Users\Mick\AppData\Local\Logos\Logos.exe/ngen
08/08/2017 14:43:30.311 [6772]: Uninstalling assembly D:\Users\Mick\AppData\Local\Logos\Logos.exe/ngen because of an error during compilation: The given assembly name or codebase was invalid. (Exception from HRESULT: 0x80131047).
08/08/2017 14:43:30.312 [6772]: The given assembly name or codebase was invalid. (Exception from HRESULT: 0x80131047)
08/08/2017 14:43:30.312 [6772]: ngen returning 0xffffffff

What am I doing wrong

mick

Mick
Page 2 of 7 (127 items) < Previous 1 2 3 4 5 Next > ... Last » | RSS
Copyright 1992-2015 Faithlife / Logos Bible Software.