[Libreoffice-bugs] [Bug 56007] Thumbnail generation slow on network drives

2012-10-16 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=56007

Mathieu Parent math.par...@gmail.com changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
   Assignee|libreoffice-b...@lists.free |math.par...@gmail.com
   |desktop.org |
 Ever confirmed|0   |1

--- Comment #3 from Mathieu Parent math.par...@gmail.com ---
Created attachment 68605
  -- https://bugs.freedesktop.org/attachment.cgi?id=68605action=edit
NCP capture

Here is a network capture showing the problem.

It seems that there is a problem in the Windows Netware Client : When 1byte is
sread, 512 are requested within the protocol. This looks like readahead
(which is good), but when requesting the following byte, a new request is made
(i.e the previous buffer was not cached).

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 56007] Thumbnail generation slow on network drives

2012-10-16 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=56007

Mathieu Parent math.par...@gmail.com changed:

   What|Removed |Added

   Assignee|math.par...@gmail.com   |libreoffice-b...@lists.free
   ||desktop.org

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 56007] Thumbnail generation slow on network drives

2012-10-15 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=56007

--- Comment #1 from Mathieu Parent math.par...@gmail.com ---
This problem is seen on a Novell Storage Services (NSS, or ncpfs on Linux).

A network capture shows that file is read one byte at a time.

Digging further, I found that
shell/source/win32/shlxthandler/thumbviewer/thumbviewer.cxx load a ZipFile
(line 360) and then call GetUncompressedContent on it. This call
readCentralDirectoryEntry several times and readCentralDirectoryEnd. Those two
fuctions use readByte which sread one char at a time !

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 56007] Thumbnail generation slow on network drives

2012-10-15 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=56007

--- Comment #2 from Mathieu Parent math.par...@gmail.com ---
Created attachment 68583
  -- https://bugs.freedesktop.org/attachment.cgi?id=68583action=edit
Patch v1

Here is a proposed patch. I cannot build yet, as my build environment is Linux
only.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs