-1
Lets say I have a program installed on both a USB Flash Drive and also a Computer.
Both USB Flash Drive and Computer have the program's based folder shared with full permissions to everyone.
If created a Mapped Network Drive to either one of these 2 folders, I assume that the program I run from the Computer would be running a lot faster than the USB Flash Drive correct?
Is this only because of the harddrive speed that it can read/write that determines the speed of the program and how fast it can run over the network?
What about number of computers running the same file? Is the file technically being ran on the individual computer itself or does it matter what computer its being ran from to make sure it don't bog down a lot when being ran from multiple computers over the network?
Does it just come down to the Router/Modem itself and how fast it pushes the data?
Long story short, I'm just wanting to know if there is a major difference between running a program from a Mapped Network Drive that is located on either a USB Flash Drive or a Computer
EDIT - Since I got a down vote for apparently not fully explaining the type of situation more specifically I'll add more details on why I'm asking.
I have a program that is around 10MB big that is constantly reading/writing to a local SQL file that is stored in the Mapped Network Drive folder (the USB Drive or the Harddrive on the computer)
I have considered moving the folder to an external hard drive (or maybe even a small USB flash drive) instead of having the software installed on a computer just in case I need to move the USB/external to a new location in the future.
My biggest concern is in different "environments" this program can be ran over the network and be access from anywhere between 1 - 15 computers at the same time depending on where I am. I want to know if I could expect a major speed different in the users running the program over the network off a USB/External as opposed to it being on a computer's hard drive instead.
2there isn't one? the programs image is loaded into ram at execution time, so it runs from local ram. the location of the exe may affect how long it takes to get the executable into ram and started running, but other than that there is little difference. The big place where there will be a disconnect, is IO. if the program loads files on demand, and they exist on the network, instead of the local system, IO operations against those files will be slower. – Frank Thomas – 2016-02-02T19:47:49.577
I believe whatever the program is accessed from is where the program will pull its resources. On our mapped drives we are able to access the program and run them on most computers that have permission to do so it depends on the program too if you had an example of the program it could help the question out – NetworkKingPin – 2016-02-02T19:48:00.137
@Frank Thomas what about it actually reading/writing constantly though? Wouldn't that affect the speed or is it still loaded into the local ram of the computer doing all the work? – eqiz – 2016-02-04T03:27:32.510
if the data resource is remote, it will be slower than if it is local. it all comes down to bus speed. Sata6G runs at about 6Gbps, USB3 at about 4.5Gbps, and gigabit networking at 1GBps. The network also adds data overhead and a dependency on the CPU. Most of these buses never actually reach their theoretical max, but they pretty clearly describe the comparitive speed of the different buses. Obviously you want to have your data on the fastest bus available, and anything else will be sub-optimal. the slower the bus, the less optimal the solution becomes. – Frank Thomas – 2016-02-04T04:10:58.480