Re: EXE running from network share larger than EXE itself?
- From: Joseph M. Newcomer <newcomer@xxxxxxxxxxxx>
- Date: Tue, 14 Jun 2005 22:51:21 -0400
That's certainly one of my thoughts. I'm also surprised at the 309K of I/O reads, because
a 1.7MB executable should involve on the order of 1.7MB of data transmitted. I wonder if
the Process Explorer actually accounts for the reads required to initially load the image,
that is, what takes place before the process actually has an identity.
The fact of static linking seems largely irrelevant. There are loads of other DLLs
implicit in using MFC (I have an MFC app which is pretty vanilla which uses 26 DLLs by the
time OLE and other DLLs are taken into account). And some DLLs will be searched for on the
remote machine.
I'd suggest using something like FileMon on the remote machine to see what the I/O traffic
is. It might be revealing.
joe
On Tue, 14 Jun 2005 16:17:03 GMT, Geoff <geoff@xxxxxxxxxxxxxxx> wrote:
>On Tue, 14 Jun 2005 09:41:28 -0500, "Todd Brooks"
><tbrooks@xxxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
>
>>I've locked down the net analyzer to just between my workstation and that
>>standalone server...no other traffic should be between them besides your
>>standard network browsing (RIP?) broadcasts, which are small and infrequent.
>>
>>Keep in mind this is a statically linked EXE, thus there are no
>>dependencies, so unless the EXE is searching the EXE directory for system
>>DLL's, I'm not sure if that could be causing the excess traffic. Loading
>>the EXE locally, just starting up the app, only consumes 309K of I/O Reads
>>(according to SysInternals' Process Explorer).
>>
>>Any other ideas? My network is all Windows 2003 Servers, a single domain.
>>NetBIOS is enabled on my machine, everyone has static IPs (NAT'd).
>>
>>todd
>>
>
>How many page faults are generated during startup of your application?
>Windows could be discarding segments of your program and since paging
>of exe's involves discard/reload from the original file it may be
>re-transmitting segments of your program to satisfy the page loads.
>This is done in 4kB chunks.
>
>Perhaps sniffing the wire with Netmon might tell you what transactions
>are going on. You would also be able to get a handle on how much
>network overhead is involved.
Joseph M. Newcomer [MVP]
email: newcomer@xxxxxxxxxxxx
Web: http://www.flounder.com
MVP Tips: http://www.flounder.com/mvp_tips.htm
.
- References:
- Re: EXE running from network share larger than EXE itself?
- From: Joseph M . Newcomer
- Re: EXE running from network share larger than EXE itself?
- From: Todd Brooks
- Re: EXE running from network share larger than EXE itself?
- Prev by Date: RE: CListCtrl: Do text subitems require dynamic allocations and deletions?
- Next by Date: RE: Meta content in the event log
- Previous by thread: Re: EXE running from network share larger than EXE itself?
- Next by thread: How to add ON_UPDATE_COMMAND_UI and ON_COMMAND in vc.net?
- Index(es):
Relevant Pages
|
Loading