Solved

Samba share trough VPN is slow but only because of a bad winxp feature

Posted on 2007-04-08
4
1,725 Views
Last Modified: 2010-05-18
Hi there.
I have setup a openvpn solution where the server is a win2003, and clients are winxp.
I can connect just fine, and browsing the samba share seems fast.
BUT!
When I right click on a file to do something like copy, file open or what ever.
Winxp starts downloading the file, making the user have to wait until the whole file is downloaded, before it shows the menu!
This is a big problem when the file is big.

I have tried different explorer replacements, and infact the ones that do have it's own built right click menu, will seem fast, and the ones that shows the same right click menu as standard explorer will have the same slow sympthoms. problem is that I like to have features like open with, svn menu, svn icons, etc. Infact I like to have it just as the standard explorer, only that it dosen't download files before the right click menu is shown! by the way, if one right clicks a folder the problem is not there! (and if one selects two files, where one is 500MB and one is 1MB, and the mouse is located over the 1MB, and then do a right click, windows downloads only the 1MB file, and the menu is shown pretty fast )
I have to add, if the user use the edit menu from the menu bar of explorer, and for example click copy. no download happens before one paste the files. (offcource if one goes to the file menu there, it starts downloading again!)

so do anyone know of a solution for my problem?? (tweak, hack or whatever!)


Edit:
After inspecting some more. how come when the samba share is accessed trough LAN, it would not download on the right click, because if you right click on a 10GB file on LAN it goes fast!
0
Comment
Question by:thor918
  • 2
  • 2
4 Comments
 
LVL 8

Accepted Solution

by:
Brain2000 earned 500 total points
ID: 18873372
Wow.

Try removing everything from the right click context menu, and see if it still downloads the file.  What if one of the programs (i.e. WinZip, symantec antivirus) downloads the file for analysis on a right click.

Try uninstalling antivirus.  Maybe it scans the whole file on a right click.

You mentioned Samba, yet also mentioned Windows 2003 server.  Are you using the regular 2003 sharing?  Or are you running this with Samba on a Linux box?
0
 
LVL 2

Author Comment

by:thor918
ID: 18873423
well I tried the same thing from a workstation where nothing special is installed.
only thing is avast antivirus.  I tried also to setup webdav, because I was thinking that would speed things up. using webdrive (webdav client), it goes faster but it will still start a download when it right clicks. Perhaps I'm mistaken on my conclusion that it downloads the file when using samba and right click, but it sure feels like it does. and it get's slower the bigger file one right clicks.

i'm using sharing functionality of the windows 2003 server.

using another webdav client "BitKinex" everything is like heaven, exept that one loses the simlicyty of the system. And using samba shares you have all the practical usermenues for (svn, winrar... etc)

thanks for the tip:
I will check out if it is the antivirus that is forcing it to download.
0
 
LVL 2

Author Comment

by:thor918
ID: 18878240
jupp. solution is found!
It was infact winzip and winrar that where the sinners....
removing those from the menu solved it

Thanks for the pointers.
I will leave the question open a day or two, and then you will get experts-points.
0
 
LVL 8

Expert Comment

by:Brain2000
ID: 18911488
Cool, glad you found it.  I'm surprised that Winzip would download the entire file just to give you some information about it.  That's good to know on a LAN environment as well when trying to locate a bottleneck on a file server.
0

Featured Post

Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Auto Login Script 3 51
ASA 5505 latency problem 8 48
Review of a VPN cert policy 4 43
USB KEYBOARD AND MOUSE FAILS AFTER WIN-XP LOADS 18 57
Sometimes people don't understand why download speed shows differently for Windows than Linux.Specially, this article covers and shows the solution for throughput difference for Windows than a Linux machine. For this, I arranged a test scenario.I…
For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

830 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