Slow start when put on Google Drive (stream mode)
-
To have a really portable and synced Notepad++ I got the idea to put the installation on a virtual drive (G:) from Google Drive client in stream mode. For the app, it should be the same as having the file on a local drive, but the start takes a few seconds compared to having the folder on a real drive. Do you know why that could be? Can be fixed?
Notepad++ v8.6.9 (64-bit)
Build time : Jul 12 2024 - 05:09:25
Path : G:\My Drive\Notepad\notepad++.exe
Command Line :
Admin mode : OFF
Local Conf mode : ON
Cloud Config : OFF
Periodic Backup : ON
OS Name : Windows 11 Enterprise (64-bit)
OS Version : 23H2
OS Build : 22631.4112
Current ANSI codepage : 1252
Plugins :
mimeTools (3.1)
Remove Duplicate Lines (1.3)
DSpellCheck (1.5)
ColumnsPlusPlus (1.1.2)
_CustomizeToolbar (5.3) -
@Javier-Casares said in Slow start when put on Google Drive (stream mode):
To have a really portable and synced Notepad++ I got the idea to put the installation on a virtual drive (G:) from Google Drive client in stream mode. For the app, it should be the same as having the file on a local drive, but the start takes a few seconds compared to having the folder on a real drive. Do you know why that could be? Can be fixed?
Why would you expect it to be “the same as having the file on a local drive”? I don’t use Google Drive this way, but I believe that if you expect “like local” performance, you need to mirror, not stream.
-
Maybe I failed to mention. But the folder with Notepad++ is set to be stored offline, while on stream mode. No need to use mirror in such a case, unless I’m missing something.
-
@Javier-Casares said in Slow start when put on Google Drive (stream mode):
Maybe I failed to mention. But the folder with Notepad++ is set to be stored offline, while on stream mode. No need to use mirror in such a case, unless I’m missing something.
I don’t really use Google Drive except as a quick stash for some extra backups, so it’s more likely that I’m missing something.
What you could try is taking a look in Task Manager and seeing what is happening during the delay when you open. Is there some process other than Notepad++ that’s pulling an unexpected amount of CPU? Is there heavy network traffic (even though it sounds like you expect little or none)?
That might help identify the reason.
-
@Coises, as it’s just a few seconds, I suppose it will be hard to notice any increase of resources usage. I might need to use some monitoring tool to detect such behavior. What I suppose Google Drive is doing is checking if there is any update of all the related files in the cloud. That is the extra seconds I’m seeing. I will later try with OneDrive to see if it behaves differently.
-
Seems like OneDrive works differently as it’s much faster. I will switch to it then.