Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Mapped Drive vs UNC Performance Differences?

Posted on 2006-10-23
4
Medium Priority
?
6,435 Views
Last Modified: 2009-05-22
Is there any performance benefit to using Mapped Drives vs UNC paths?

I'm looking to see if there is less network or resource overhead to using a mapped drive in Windows vs a UNC path that may re-authenticate between calls.

Any documentation to back this up?
0
Comment
Question by:brandonkirsch
  • 2
4 Comments
 
LVL 5

Expert Comment

by:megs28
ID: 17792106
I'm not overly sure as to what you mean when you say UNC vs. mapped drives.  I take it you mean typing '\\server\share' from a run prompt vs. mapping a drive.  With that in mind, I would think that the mapped drive would cause more traffic due to the fact Windows will "check" to see if the connection still exists when you even do simple things such as browse My Computer.  This in turn would cause more load for the OS as well (some people seriously wonder why it takes 2 minutes to open My Computer when they have 20 mapped drives that are rarely accessed).  This amount of traffic shouldn't cause a noticable slow down, and if it is, you need to sit down and examine your infrastructure very closley.

By the way....UNC = \\server\share.  You can map a drive by that, or substitute the server's IP address instead.  And if this is what concerns you and slows your network down...again, you need to examine your infrastructure.
0
 
LVL 5

Expert Comment

by:usacadena
ID: 17793361
using the static ip address should be the fastest \\10.1.#.#
0
 
LVL 1

Author Comment

by:brandonkirsch
ID: 17795426
I know what a UNC is.  I get what you're saying about opening "My Computer" and all but I'm looking for concrete facts (that is a link to documentation) to base our decision on.

We're making thousands of queries across SMB shares so every millisecond counts.  

Changing to an IP address for \\10.10.* wouldn't make a difference since DNS lookups are cached anyways after the first call.

Does anyone have a link to documentation on the overhead involved with using UNC paths vs Mapping a drive letter?
0
 
LVL 5

Accepted Solution

by:
usacadena earned 500 total points
ID: 17796226
"Mapped drives show better read performance than UNC paths at request sizes of 64KB and above. Where our mapped drive ran at near disk-speed with large requests, UNC reads dropped to the one and two MB per second range. As the request size increased, the throughput decreased. Interestingly, mapped drives showed good performance at large request sizes, however additional depth caused throughput to decrease. Overall, a depth of two seemed to be the optimum value for both UNC and mapped drives, reading and writing. For good performance, drives should be mapped rather than accessed using their UNC paths."

Ref:

http://research.microsoft.com/BARC/Sequential_IO/Win2K_IO_MSTR_2000_55.doc
0

Featured Post

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When you try to share a printer , you may receive one of the following error messages. Error message when you use the Add Printer Wizard to share a printer: Windows could not share your printer. Operation could not be completed (Error 0x000006…
Tech spooks aren't just for those who are tech savvy, it also happens to those of us running a business. Check out the top tech spooks for business owners.
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
Suggested Courses

885 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question