KMountPoint::probablySlow and cifs mount points

2013-11-24 Thread Albert Astals Cid
In Okular we just got bug https://bugs.kde.org/show_bug.cgi?id=327846 PDF Render time is unreasonably slow over cifs on high latency (WAN) network connections Basically the issue is that poppler is quite read-intensive over files, reading them over and over, and since the file is "local but rea

Re: KMountPoint::probablySlow and cifs mount points

2013-11-24 Thread Mark Gaiser
On Sun, Nov 24, 2013 at 5:05 PM, Albert Astals Cid wrote: > In Okular we just got bug > https://bugs.kde.org/show_bug.cgi?id=327846 > PDF Render time is unreasonably slow over cifs on high latency (WAN) network > connections > > Basically the issue is that poppler is quite read-intensive over file

Re: KMountPoint::probablySlow and cifs mount points

2013-11-24 Thread Ivan Čukić
> > and adding cifs to the list of mounttypes that are "probablySlow"? > > It's not my place to object since the code isn't mine. Yet i do Whether it is a good to use probablySlow in okular is one question. The other one is whether cifs should be in the probablySlow category. >From my point of

Re: KMountPoint::probablySlow and cifs mount points

2013-11-24 Thread Albert Astals Cid
El Diumenge, 24 de novembre de 2013, a les 19:42:25, Mark Gaiser va escriure: > On Sun, Nov 24, 2013 at 5:05 PM, Albert Astals Cid wrote: > > In Okular we just got bug > > https://bugs.kde.org/show_bug.cgi?id=327846 > > PDF Render time is unreasonably slow over cifs on high latency (WAN) > > netwo

Re: KMountPoint::probablySlow and cifs mount points

2013-11-24 Thread Albert Astals Cid
El Diumenge, 24 de novembre de 2013, a les 19:55:28, Ivan Čukić va escriure: > > > and adding cifs to the list of mounttypes that are "probablySlow"? > > > > It's not my place to object since the code isn't mine. Yet i do > > Whether it is a good to use probablySlow in okular is one question. The

Re: KMountPoint::probablySlow and cifs mount points

2013-11-24 Thread Mark Gaiser
On Sun, Nov 24, 2013 at 10:09 PM, Albert Astals Cid wrote: > El Diumenge, 24 de novembre de 2013, a les 19:42:25, Mark Gaiser va escriure: >> On Sun, Nov 24, 2013 at 5:05 PM, Albert Astals Cid wrote: >> > In Okular we just got bug >> > https://bugs.kde.org/show_bug.cgi?id=327846 >> > PDF Render t

Re: KMountPoint::probablySlow and cifs mount points

2013-11-24 Thread Albert Astals Cid
El Dilluns, 25 de novembre de 2013, a les 00:01:41, Mark Gaiser va escriure: > On Sun, Nov 24, 2013 at 10:09 PM, Albert Astals Cid wrote: > > El Diumenge, 24 de novembre de 2013, a les 19:42:25, Mark Gaiser va escriure: > >> On Sun, Nov 24, 2013 at 5:05 PM, Albert Astals Cid wrote: > >> > In Oku

Re: KMountPoint::probablySlow and cifs mount points

2013-11-25 Thread Aurélien Gâteau
Le dimanche 24 novembre 2013 19:42:25 Mark Gaiser a écrit : > On Sun, Nov 24, 2013 at 5:05 PM, Albert Astals Cid wrote: > > In Okular we just got bug > > https://bugs.kde.org/show_bug.cgi?id=327846 > > PDF Render time is unreasonably slow over cifs on high latency (WAN) > > network connections > >

Re: KMountPoint::probablySlow and cifs mount points

2013-11-25 Thread Sebastian Kügler
On Sunday, November 24, 2013 19:42:25 Mark Gaiser wrote: > > /** > > * Checks if the filesystem that is probably slow (network mounts). > > * @return true if the filesystem is probably slow > > */ > > > > and adding cifs to the list of mounttypes that are "probablySlow"? > > It'

Re: KMountPoint::probablySlow and cifs mount points

2013-11-25 Thread Mark Gaiser
On Mon, Nov 25, 2013 at 10:45 AM, Aurélien Gâteau wrote: > Le dimanche 24 novembre 2013 19:42:25 Mark Gaiser a écrit : >> On Sun, Nov 24, 2013 at 5:05 PM, Albert Astals Cid wrote: >> > In Okular we just got bug >> > https://bugs.kde.org/show_bug.cgi?id=327846 >> > PDF Render time is unreasonably

Re: KMountPoint::probablySlow and cifs mount points

2013-11-25 Thread Aurélien Gâteau
Le lundi 25 novembre 2013 13:54:38 Mark Gaiser a écrit : > On Mon, Nov 25, 2013 at 10:45 AM, Aurélien Gâteau wrote: > > Le dimanche 24 novembre 2013 19:42:25 Mark Gaiser a écrit : > >> On Sun, Nov 24, 2013 at 5:05 PM, Albert Astals Cid wrote: > >> > In Okular we just got bug > >> > https://bugs.k

Re: KMountPoint::probablySlow and cifs mount points

2013-11-25 Thread Mark Gaiser
On Mon, Nov 25, 2013 at 5:41 PM, Aurélien Gâteau wrote: > Le lundi 25 novembre 2013 13:54:38 Mark Gaiser a écrit : >> On Mon, Nov 25, 2013 at 10:45 AM, Aurélien Gâteau wrote: >> > Le dimanche 24 novembre 2013 19:42:25 Mark Gaiser a écrit : >> >> On Sun, Nov 24, 2013 at 5:05 PM, Albert Astals Cid

Re: KMountPoint::probablySlow and cifs mount points

2013-11-25 Thread Aurélien Gâteau
Le lundi 25 novembre 2013 18:23:53 Mark Gaiser a écrit : > On Mon, Nov 25, 2013 at 5:41 PM, Aurélien Gâteau wrote: > > Le lundi 25 novembre 2013 13:54:38 Mark Gaiser a écrit : > >> On Mon, Nov 25, 2013 at 10:45 AM, Aurélien Gâteau wrote: > >> > Le dimanche 24 novembre 2013 19:42:25 Mark Gaiser a

Re: KMountPoint::probablySlow and cifs mount points

2013-11-25 Thread David Faure
On Monday 25 November 2013 18:23:53 Mark Gaiser wrote: > I would be very much in favor > of killing the "probablySlow" function because we apparently have no > real detection to even know if something is slow or not. All the > protocols mentioned in this thread are fast if you use them on local > a

Re: KMountPoint::probablySlow and cifs mount points

2013-11-25 Thread Ingo Klöcker
On Monday 25 November 2013 00:12:34 Albert Astals Cid wrote: > El Dilluns, 25 de novembre de 2013, a les 00:01:41, Mark Gaiser va escriure: > > On Sun, Nov 24, 2013 at 10:09 PM, Albert Astals Cid wrote: > > > El Diumenge, 24 de novembre de 2013, a les 19:42:25, Mark Gaiser > > > va > > escriure

Re: KMountPoint::probablySlow and cifs mount points

2013-11-25 Thread Albert Astals Cid
El Dilluns, 25 de novembre de 2013, a les 20:26:23, Ingo Klöcker va escriure: > On Monday 25 November 2013 00:12:34 Albert Astals Cid wrote: > > El Dilluns, 25 de novembre de 2013, a les 00:01:41, Mark Gaiser va > > escriure: > > > On Sun, Nov 24, 2013 at 10:09 PM, Albert Astals Cid > > wrote: >

Re: KMountPoint::probablySlow and cifs mount points

2013-11-25 Thread Ingo Klöcker
On Monday 25 November 2013 18:46:27 Aurélien Gâteau wrote: > Le lundi 25 novembre 2013 18:23:53 Mark Gaiser a écrit : > > On Mon, Nov 25, 2013 at 5:41 PM, Aurélien Gâteau wrote: > > >> 2. If you follow this route, you are already in the > > >> "probablySlow" > > >> path thus it copies over a like

Re: KMountPoint::probablySlow and cifs mount points

2013-11-25 Thread Ingo Klöcker
On Monday 25 November 2013 20:38:28 Albert Astals Cid wrote: > El Dilluns, 25 de novembre de 2013, a les 20:26:23, Ingo Klöcker va escriure: > > On Monday 25 November 2013 00:12:34 Albert Astals Cid wrote: > > > A PDF file is not a movie, it can't be read lineraly. > > > > Does the PDF format rea

Re: KMountPoint::probablySlow and cifs mount points

2013-11-25 Thread Albert Astals Cid
El Dilluns, 25 de novembre de 2013, a les 18:23:53, Mark Gaiser va escriure: > On Mon, Nov 25, 2013 at 5:41 PM, Aurélien Gâteau wrote: > > Le lundi 25 novembre 2013 13:54:38 Mark Gaiser a écrit : > >> On Mon, Nov 25, 2013 at 10:45 AM, Aurélien Gâteau wrote: > >> > Le dimanche 24 novembre 2013 19

Re: KMountPoint::probablySlow and cifs mount points

2013-11-25 Thread Alexander Neundorf
On Monday 25 November 2013, Aurélien Gâteau wrote: > Le lundi 25 novembre 2013 13:54:38 Mark Gaiser a écrit : > > On Mon, Nov 25, 2013 at 10:45 AM, Aurélien Gâteau wrote: > > > Le dimanche 24 novembre 2013 19:42:25 Mark Gaiser a écrit : ... > > >> What should be done is detecting is the target is

Re: KMountPoint::probablySlow and cifs mount points

2013-11-25 Thread Thomas Lübking
On Montag, 25. November 2013 23:31:59 CEST, Alexander Neundorf wrote: hmm, doesn't have to be really complicated, just a little bit more sophisticated than it is now, e.g. like the following, which is not too hard to do: probablySlow = (NFS || CIFS) && (host is not in my own subnet || NIC is

Re: KMountPoint::probablySlow and cifs mount points

2013-11-25 Thread Alexander Neundorf
On Tuesday 26 November 2013, Thomas Lübking wrote: > On Montag, 25. November 2013 23:31:59 CEST, Alexander Neundorf wrote: > > hmm, doesn't have to be really complicated, just a little bit more > > sophisticated than it is now, e.g. like the following, which is > > not too hard > > to do: > > proba

Re: KMountPoint::probablySlow and cifs mount points

2013-11-25 Thread Thomas Lübking
On Dienstag, 26. November 2013 00:35:18 CEST, Alexander Neundorf wrote: Serious question: do systems, which run KDE4 and are connected to a 10 Mbps wired network exist ? I guess no (i still have such card, but it's ISA - so it lives in a shoebox ;-) But the remote system could be. In theory, o

Re: KMountPoint::probablySlow and cifs mount points

2013-11-25 Thread Jan Kundrát
On Tuesday, 26 November 2013 00:35:18 CEST, Alexander Neundorf wrote: Serious question: do systems, which run KDE4 and are connected to a 10 Mbps wired network exist ? One place I know used to use this as a crude form of traffic shaping just a couple years ago. The offices were provisioned b

Re: KMountPoint::probablySlow and cifs mount points

2013-11-26 Thread henry miller
"Aurélien Gâteau" wrote: >Le dimanche 24 novembre 2013 19:42:25 Mark Gaiser a écrit : >> On Sun, Nov 24, 2013 at 5:05 PM, Albert Astals Cid >wrote: >> > In Okular we just got bug >> > https://bugs.kde.org/show_bug.cgi?id=327846 >> > PDF Render time is unreasonably slow over cifs on high latency

Re: KMountPoint::probablySlow and cifs mount points

2013-11-26 Thread Aurélien Gâteau
Le lundi 25 novembre 2013 20:38:58 Ingo Klöcker a écrit : > On Monday 25 November 2013 18:46:27 Aurélien Gâteau wrote: > > Le lundi 25 novembre 2013 18:23:53 Mark Gaiser a écrit : > > > On Mon, Nov 25, 2013 at 5:41 PM, Aurélien Gâteau > > wrote: > > > >> 2. If you follow this route, you are alrea

Re: KMountPoint::probablySlow and cifs mount points

2013-11-30 Thread Kevin Krammer
On Monday, 2013-11-25, 00:01:41, Mark Gaiser wrote: > On Sun, Nov 24, 2013 at 10:09 PM, Albert Astals Cid wrote: > > Why? If you open a huge file by smb:// it'll copy it to the local file > > anyway, so why should not we copy it? > > Right. True but should it be like that? > Lets take playing a