Group:  Microsoft Word ยป microsoft.public.word.formatting.longdocs
Thread: Very slow editing doc loaded from network share

DotNetBag
.NET Development Newsgroups

HTVi
TV Discussion Newsgroups

Our Hot Pick: Rising Antivirus 2006 - Certified by TUV & Checkmark! Get 10% discount by entering this coupon code: ONDISCOUNT10
Rising Antivirus 2006

Very slow editing doc loaded from network share
"Graham Wideman [Visio MVP]" <noone[ at ]nowhere.com> 29.07.2006 03:09:48
Folks:

I am encountering a situation where editing a Word doc which is loaded from
a network share is extremely slow, whereas editing the same doc copied to a
local drive is fast -- and for none of the simple reasons I guessed.

More clues:

-- Word 2003 SP2
-- Doc is about 500 K, and contains a large table about 10 columns wide and
8 pages long.

Example slowness: move the table column width adjuster. On the local doc the
reformat occurs immediately, on the network doc it takes seconds.

Now the interesting clue:

With FileMon I can see that in the case of the network doc, Word is doing an
extensive amount of reading of little pieces of data from the file,
constantly, and especially during this kind of edit. In the case of the
local doc, Word seems to load the whole thing and rarely interact with the
disk.

Presumably, all that excessive file reading is slowing Word down.

I've even tried to fool Word by setting up a mapping to the shared net drive
(so it's now "drive X"), but no dice, same problem.

Can't for the life of me think why the behaviour would be different in one
case vs the other, or what option might impact this.

Any ideas?

Graham





Re: Very slow editing doc loaded from network share
"John McGhie [MVP - Word and Word Macintosh]" <john[ at ]mcghie.name> 29.07.2006 04:26:52
Hi Graham:

Go to Tools>Options>Save and ensure that "Always make backup copy" is set to
"ON" and "Allow fast saves" is set to OFF.

It should be set that way by default, but often it isn't. Word should sense
the presence of the network and flip those switches automatically, but it's
possible that this is not happening in your case.

Word *does* make a large number of small accesses to a file when operating:
that's a legacy of its "streaming" file access method. When you have a
large table, the document complexity goes up. If you have "Always make
backup copy" switched OFF, Word is holding the TEMP version of the original
file open in "Append" mode, and appending each change to the bottom of the
file. It also holds a growing number of temporary files open, supporting
the "Undo" ability. At some point, the network file server is not going to
like this :-)

By switching to "Always make backup", Word writes its backup file in Serial
mode instead of Append mode (Open, Write instead of Open, Append). It then
stacks the Undo changes in separate temporary files held locally. This will
reduce network traffic sharply.

Hope this helps

On 29/7/06 1:09 PM, in article eBGwmxrsGHA.1632[ at ]TK2MSFTNGP06.phx.gbl,
"Graham Wideman [Visio MVP]" <noone[ at ]nowhere.com> wrote:

[Quoted Text]
> Folks:
>
> I am encountering a situation where editing a Word doc which is loaded from
> a network share is extremely slow, whereas editing the same doc copied to a
> local drive is fast -- and for none of the simple reasons I guessed.
>
> More clues:
>
> -- Word 2003 SP2
> -- Doc is about 500 K, and contains a large table about 10 columns wide and
> 8 pages long.
>
> Example slowness: move the table column width adjuster. On the local doc the
> reformat occurs immediately, on the network doc it takes seconds.
>
> Now the interesting clue:
>
> With FileMon I can see that in the case of the network doc, Word is doing an
> extensive amount of reading of little pieces of data from the file,
> constantly, and especially during this kind of edit. In the case of the
> local doc, Word seems to load the whole thing and rarely interact with the
> disk.
>
> Presumably, all that excessive file reading is slowing Word down.
>
> I've even tried to fool Word by setting up a mapping to the shared net drive
> (so it's now "drive X"), but no dice, same problem.
>
> Can't for the life of me think why the behaviour would be different in one
> case vs the other, or what option might impact this.
>
> Any ideas?
>
> Graham
>
>
>
>
>

--

Please reply to the newsgroup to maintain the thread. Please do not email
me unless I ask you to.

John McGhie <john[ at ]mcghie.name>
Microsoft MVP, Word and Word for Macintosh. Consultant Technical Writer
Sydney, Australia +61 (0) 4 1209 1410

Re: Very slow editing doc loaded from network share
"Graham Wideman [Visio MVP]" <noone[ at ]nowhere.com> 29.07.2006 04:57:55
Wow -- John' s almost the man this evening! (If we ever cross paths at MVP
conf, one beer on me!)

OK, so I did as you suggested and that seemed to make no difference. Same
slowness, and that observation backed up with watching activity in Filemon.

I tried various combos of those settings (also "Allow background saves") and
didn't hit a good one. I also tried quitting and restarting Word each time
in case this was a setting that takes effect only on start up.

Then I noticed the "Make local copy of files stored on network". That one
*did* have the desired result, including very low disk activity.

So, I'm happy to have *a* way to proceed, but would also be open to further
theories on how to do it better.

Thanks for the very speedy and somewhere-near-the-bullseye reply!

Graham



"John McGhie [MVP - Word and Word Macintosh]" <john[ at ]mcghie.name> wrote in
message news:C0F120AC.41104%john[ at ]mcghie.name...
[Quoted Text]
> Hi Graham:
>
> Go to Tools>Options>Save and ensure that "Always make backup copy" is set
> to
> "ON" and "Allow fast saves" is set to OFF.
>


Re: Very slow editing doc loaded from network share
"John McGhie [MVP - Word and Word Macintosh]" <john[ at ]mcghie.name> 01.08.2006 11:04:46
{Blush} Sorry, I forgot about that one, sorry! :-)


On 29/7/06 2:57 PM, in article e5$IDussGHA.1216[ at ]TK2MSFTNGP03.phx.gbl,
"Graham Wideman [Visio MVP]" <noone[ at ]nowhere.com> wrote:

[Quoted Text]
> Wow -- John' s almost the man this evening! (If we ever cross paths at MVP
> conf, one beer on me!)
>
> OK, so I did as you suggested and that seemed to make no difference. Same
> slowness, and that observation backed up with watching activity in Filemon.
>
> I tried various combos of those settings (also "Allow background saves") and
> didn't hit a good one. I also tried quitting and restarting Word each time
> in case this was a setting that takes effect only on start up.
>
> Then I noticed the "Make local copy of files stored on network". That one
> *did* have the desired result, including very low disk activity.
>
> So, I'm happy to have *a* way to proceed, but would also be open to further
> theories on how to do it better.
>
> Thanks for the very speedy and somewhere-near-the-bullseye reply!
>
> Graham
>
>
>
> "John McGhie [MVP - Word and Word Macintosh]" <john[ at ]mcghie.name> wrote in
> message news:C0F120AC.41104%john[ at ]mcghie.name...
>> Hi Graham:
>>
>> Go to Tools>Options>Save and ensure that "Always make backup copy" is set
>> to
>> "ON" and "Allow fast saves" is set to OFF.
>>
>
>

--

Please reply to the newsgroup to maintain the thread. Please do not email
me unless I ask you to.

John McGhie <john[ at ]mcghie.name>
Microsoft MVP, Word and Word for Macintosh. Consultant Technical Writer
Sydney, Australia +61 (0) 4 1209 1410

Home | Search | Terms | Imprint | Contact
Newsgroups Reader - provided by WiredBox.Net