Digikam is really slow when used with NFS and wireless

classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

Digikam is really slow when used with NFS and wireless

Stefanovich
Hi,

I did a search and couldn't find any solutions to this. I have digikam
setup to use an NFS folder as it's library. It works great when I am
connected via a cat 5 cable, however whenever I switch to wireless on
my laptop digikam's gets really really slow. Everything from startup
to photo access. Is this simply a case of me having a slow wireless
connection, or is there another issue when dealing with Digikam, nfs,
and wireless all together? My transfer rates between my local network
appear really fast when on wireless which makes me think that isn't
the problem.

Any help would be appreciated!

Stefan
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: Digikam is really slow when used with NFS and wireless

Andreas Weigl
Hi

Am Wednesday 04 June 2008 schrieb Stefanovich:

> I did a search and couldn't find any solutions to this. I have digikam
> setup to use an NFS folder as it's library. It works great when I am
> connected via a cat 5 cable, however whenever I switch to wireless on
> my laptop digikam's gets really really slow. Everything from startup
> to photo access. Is this simply a case of me having a slow wireless
> connection, or is there another issue when dealing with Digikam, nfs,
> and wireless all together? My transfer rates between my local network
> appear really fast when on wireless which makes me think that isn't
> the problem.
>
> Any help would be appreciated!

* What is the speed of your wireless network? Check with iwconfig.
* How much traffic do you see? A good tool is iptraf. Maybe do a wget of a
large file and check the speed
* Are you the only person using the access point?
* What are the mount parameters that you are using? I suggest nolock and noac.

Andreas Weigl


_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: Digikam is really slow when used with NFS and wireless

Colin Guthrie-6
Andreas Weigl wrote:

> Hi
>
> Am Wednesday 04 June 2008 schrieb Stefanovich:
>> I did a search and couldn't find any solutions to this. I have digikam
>> setup to use an NFS folder as it's library. It works great when I am
>> connected via a cat 5 cable, however whenever I switch to wireless on
>> my laptop digikam's gets really really slow. Everything from startup
>> to photo access. Is this simply a case of me having a slow wireless
>> connection, or is there another issue when dealing with Digikam, nfs,
>> and wireless all together? My transfer rates between my local network
>> appear really fast when on wireless which makes me think that isn't
>> the problem.
>>
>> Any help would be appreciated!
>
> * What is the speed of your wireless network? Check with iwconfig.
> * How much traffic do you see? A good tool is iptraf. Maybe do a wget of a
> large file and check the speed
> * Are you the only person using the access point?
> * What are the mount parameters that you are using? I suggest nolock and noac.

Could this be related to the locking of the SQLite DB which (as has been
documented many, many times) is generally a bad thing.

The same problems will be apparent not that FF3 uses SQLite.

I'm not sure where it's at at the moment, but SQLite over NFS really
needs to get a whole lot better (assuming this hasn't already happened
and I missed it ;))

Col

_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: Digikam is really slow when used with NFS and wireless

Gilles Caulier-4
2008/6/5 Colin Guthrie <[hidden email]>:

> Andreas Weigl wrote:
>> Hi
>>
>> Am Wednesday 04 June 2008 schrieb Stefanovich:
>>> I did a search and couldn't find any solutions to this. I have digikam
>>> setup to use an NFS folder as it's library. It works great when I am
>>> connected via a cat 5 cable, however whenever I switch to wireless on
>>> my laptop digikam's gets really really slow. Everything from startup
>>> to photo access. Is this simply a case of me having a slow wireless
>>> connection, or is there another issue when dealing with Digikam, nfs,
>>> and wireless all together? My transfer rates between my local network
>>> appear really fast when on wireless which makes me think that isn't
>>> the problem.
>>>
>>> Any help would be appreciated!
>>
>> * What is the speed of your wireless network? Check with iwconfig.
>> * How much traffic do you see? A good tool is iptraf. Maybe do a wget of a
>> large file and check the speed
>> * Are you the only person using the access point?
>> * What are the mount parameters that you are using? I suggest nolock and noac.
>
> Could this be related to the locking of the SQLite DB which (as has been
> documented many, many times) is generally a bad thing.
>
> The same problems will be apparent not that FF3 uses SQLite.
>
> I'm not sure where it's at at the moment, but SQLite over NFS really
> needs to get a whole lot better (assuming this hasn't already happened
> and I missed it ;))
>
> Col

Colin,

This problem have been fixed in KDE4 port to store DB file outside
photo repository and in local hardrive.

Best

Gilles Caulier
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: Digikam is really slow when used with NFS and wireless

Colin Guthrie-6
Gilles Caulier wrote:

> 2008/6/5 Colin Guthrie <[hidden email]>:
>> Andreas Weigl wrote:
>>> Hi
>>>
>>> Am Wednesday 04 June 2008 schrieb Stefanovich:
>>>> I did a search and couldn't find any solutions to this. I have digikam
>>>> setup to use an NFS folder as it's library. It works great when I am
>>>> connected via a cat 5 cable, however whenever I switch to wireless on
>>>> my laptop digikam's gets really really slow. Everything from startup
>>>> to photo access. Is this simply a case of me having a slow wireless
>>>> connection, or is there another issue when dealing with Digikam, nfs,
>>>> and wireless all together? My transfer rates between my local network
>>>> appear really fast when on wireless which makes me think that isn't
>>>> the problem.
>>>>
>>>> Any help would be appreciated!
>>> * What is the speed of your wireless network? Check with iwconfig.
>>> * How much traffic do you see? A good tool is iptraf. Maybe do a wget of a
>>> large file and check the speed
>>> * Are you the only person using the access point?
>>> * What are the mount parameters that you are using? I suggest nolock and noac.
>> Could this be related to the locking of the SQLite DB which (as has been
>> documented many, many times) is generally a bad thing.
>>
>> The same problems will be apparent not that FF3 uses SQLite.
>>
>> I'm not sure where it's at at the moment, but SQLite over NFS really
>> needs to get a whole lot better (assuming this hasn't already happened
>> and I missed it ;))
>>
>> Col
>
> Colin,
>
> This problem have been fixed in KDE4 port to store DB file outside
> photo repository and in local hardrive.

That's nice to know :)

Where does it store it? Does it ask the user for a location? I know on
some machines I admin there is no writeable space for the user on the
local machine. Well except from /tmp but it gets wiped on every boot....

Obviously the best solution all round is if sqlite worked over NFS. With
FF3 using it for some stuff it's another nail in the "Using NFS" coffin :(

Col

_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: Digikam is really slow when used with NFS and wireless

Gilles Caulier-4
2008/6/5 Colin Guthrie <[hidden email]>:

> Gilles Caulier wrote:
>> 2008/6/5 Colin Guthrie <[hidden email]>:
>>> Andreas Weigl wrote:
>>>> Hi
>>>>
>>>> Am Wednesday 04 June 2008 schrieb Stefanovich:
>>>>> I did a search and couldn't find any solutions to this. I have digikam
>>>>> setup to use an NFS folder as it's library. It works great when I am
>>>>> connected via a cat 5 cable, however whenever I switch to wireless on
>>>>> my laptop digikam's gets really really slow. Everything from startup
>>>>> to photo access. Is this simply a case of me having a slow wireless
>>>>> connection, or is there another issue when dealing with Digikam, nfs,
>>>>> and wireless all together? My transfer rates between my local network
>>>>> appear really fast when on wireless which makes me think that isn't
>>>>> the problem.
>>>>>
>>>>> Any help would be appreciated!
>>>> * What is the speed of your wireless network? Check with iwconfig.
>>>> * How much traffic do you see? A good tool is iptraf. Maybe do a wget of a
>>>> large file and check the speed
>>>> * Are you the only person using the access point?
>>>> * What are the mount parameters that you are using? I suggest nolock and noac.
>>> Could this be related to the locking of the SQLite DB which (as has been
>>> documented many, many times) is generally a bad thing.
>>>
>>> The same problems will be apparent not that FF3 uses SQLite.
>>>
>>> I'm not sure where it's at at the moment, but SQLite over NFS really
>>> needs to get a whole lot better (assuming this hasn't already happened
>>> and I missed it ;))
>>>

A screenshot is better than a long paper. Look here :

http://digikam3rdparty.free.fr/Screenshots/setup/setupcollections.png

Gilles
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: Digikam is really slow when used with NFS and wireless

Andreas Weigl
In reply to this post by Colin Guthrie-6
Hi

Am Thursday 05 June 2008 schrieb Colin Guthrie:
> > Am Wednesday 04 June 2008 schrieb Stefanovich:
> >> I did a search and couldn't find any solutions to this. I have digikam
> >> setup to use an NFS folder as it's library. It works great when I am
> >> connected via a cat 5 cable, however whenever I switch to wireless on
> >> my laptop digikam's gets really really slow. Everything from startup

> Could this be related to the locking of the SQLite DB which (as has been
> documented many, many times) is generally a bad thing.

Locking shoudn't be a problem if the nolock mount option is set.

He said it works fine over cat 5 so I think that the problem is a slow
wireless connection. Setting nolock and noac should reduce the traffic a bit.
IMHO the consumed bandwidth should be compared first with iptraf or a similar
tool.

Andreas
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: Digikam is really slow when used with NFS and wireless

Colin Guthrie-6
In reply to this post by Gilles Caulier-4
Gilles Caulier wrote:
> A screenshot is better than a long paper. Look here :
>
> http://digikam3rdparty.free.fr/Screenshots/setup/setupcollections.png

:)

I forgot I have DK 0.10 working here now... d'oh!

I need to debug why it didn't import my digikam3.db tho'.... seems some
SQL failed... will need to look into that.

Col

_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users