New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
Images, Graphic Design, and Digital Photography Discussion of all things graphics.

iPhoto - Performance problems - 15000Pics over Samba share


Post Reply New Thread Subscribe

 
Thread Tools
bence8810

 
Member Since: Jul 01, 2007
Location: Budapest, Hungary
Posts: 94
bence8810 is an unknown at this point
Mac Specs: MacBook Air 1.6 - iMac 20" for the wife

bence8810 is offline
Hi

I purchased recently two Macs, and these are the very first ones we (my wife and I) own. One is a White MacBook and the other is an iMac 20"

We have 15000 pictures, so I killed 2 days getting the pictures organized, and importing them to a Library on a Shared drive. Its all there, working, but I feel like I am on a Windows 95 machine running on a 5x86 133Mhz, if you still remember those...

The library is very very slow, not responsive at all. The Samba share should be okay, its sitting on a Linux server on the same LAN.

What could be the problem? The amount of pictures, or the fact that its on the LAN? What can I do to solve it? I put much effort in it, and wanted to have the same library with my wife finally on our beautiful Macs, etc.

Thanks for any suggestions,

Ben
QUOTE Thanks
fleurya

 
fleurya's Avatar
 
Member Since: Nov 18, 2006
Location: Anytown, USA
Posts: 4,922
fleurya is a name known to allfleurya is a name known to allfleurya is a name known to allfleurya is a name known to allfleurya is a name known to allfleurya is a name known to allfleurya is a name known to all
Mac Specs: 27" iMac 2.7GHz Core i5, iPhone 4S, 3rd gen iPad

fleurya is offline
Probably the sheer number of pics since iPhoto essentially "displays" them all at once in photos. Is it that sluggish when in one album or event?

Just a guess.

"Give so much time to the improvement of yourself that you have no time to criticize others"
QUOTE Thanks
bence8810

 
Member Since: Jul 01, 2007
Location: Budapest, Hungary
Posts: 94
bence8810 is an unknown at this point
Mac Specs: MacBook Air 1.6 - iMac 20" for the wife

bence8810 is offline
Hi

I have browsed and browsed, and it seems people have no problem with this amount of pictures. I am wondering if the problem is with Samba, or Samba and the amount together.

All I know is that its sluggish, opening iPhoto takes over 15 seconds, when in events, scrolling takes forever, and response time is high, and I often see the "beachball".

Any suggestion is welcome,

Cheers

Ben
QUOTE Thanks
bubba

 
Member Since: Jul 05, 2007
Posts: 502
bubba has a spectacular aura about

bubba is offline
Have you performance tuned Samba on your Linux machine (some suggestions http://www.oreilly.com/catalog/samba...appb_01.html)? Have you performance tuned your TCP stack on OS X (some suggestions http://www.psc.edu/networking/projects/tcptune/)? It could have as much to do with the size/directory structure of your library as it is anything else.

A better solution might be to get an external drive (if space is an issue) and share your library from the iMac. I've found that file sharing from the Mac is much faster than Samba.
QUOTE Thanks
bence8810

 
Member Since: Jul 01, 2007
Location: Budapest, Hungary
Posts: 94
bence8810 is an unknown at this point
Mac Specs: MacBook Air 1.6 - iMac 20" for the wife

bence8810 is offline
Hi

I just checked a Samba server at our Office, and it is much faster I must say.

The server at home is actually on a different IP, but in the same pool. I have 8 static IPs at home, and the server has its own static IP, but we are behind the same router, so there is some kind of connection, just I guess it isnt fast enough. I will try to move the server to the same LAN, bringing it under the IP address of the home WiFi router, and forward ports from the router, so it can keep acting as a server, but still within the lan.

I will try this at home, and report back.

Here in the office, I got 7000kbyte/sec speeds, and at home I get 700kbyte/s. Thats 1/10th of the speed. The Cisco router cripples it I think.

I will post back,

Thanks

Ben
QUOTE Thanks
bence8810

 
Member Since: Jul 01, 2007
Location: Budapest, Hungary
Posts: 94
bence8810 is an unknown at this point
Mac Specs: MacBook Air 1.6 - iMac 20" for the wife

bence8810 is offline
Hi

I just came back home, and did a test but the SAMBA performace is much better than I thought, just like in my Office.

I also tried to use it with Xee, another image viewer, and It went much much smoother over the network. Because of this, I didnt bother the Samba server and didnt move it to my LAN.
Any other suggestions? It seems Samba performance is just great.
Two things i would be interested in.

Does anyone have an iPhoto library on a Samba server? Mine is not in the Database format, but keeping my folder strucure, I guess that should not affect it at all.

Does anyone have 15000 photos on an iPhoto library locally? How is the performance?

I am thinking of two solutions. I will either use several libraries, to cut them down, lets say 5 or so libraries, and check the performance that way, however I wouldnt like that either, as its nicer to keep it together.

Or I will omit the use of iPhoto completely. I just like the nice interface, and the ease of use, however, if its so slow, I will stick to Xee which is blazing fast over Samba even.

Any suggestions are welcome,

Cheers

Ben
QUOTE Thanks
bence8810

 
Member Since: Jul 01, 2007
Location: Budapest, Hungary
Posts: 94
bence8810 is an unknown at this point
Mac Specs: MacBook Air 1.6 - iMac 20" for the wife

bence8810 is offline
I verified the speed again on my home server, and its capping out at 2500 KB/s. I think thats still pretty low, so I moved it to my LAN, and the speed is the same.

I am thinking of the following: Its either a slow drive, but thats unlikely, and secondly the WiFi must eat the connection.

Any experiences in this field?

Thanks

Ben
QUOTE Thanks
bence8810

 
Member Since: Jul 01, 2007
Location: Budapest, Hungary
Posts: 94
bence8810 is an unknown at this point
Mac Specs: MacBook Air 1.6 - iMac 20" for the wife

bence8810 is offline
Hi

Not too many posts except by me.

Anyways, I have thought and thought, and it seems Wireless G has this speed limit, not the samba server. its going with 2000-2500KByte, and that would be around 22 MBit, which is what a G wireless can bare is usual cases. Its supposed to carry 54MBit, but that of course nearly never happens.

My new question is the following:

Is 22MBit approximately enough for iPhoto to access the library?

Thanks

Ben
QUOTE Thanks
bence8810

 
Member Since: Jul 01, 2007
Location: Budapest, Hungary
Posts: 94
bence8810 is an unknown at this point
Mac Specs: MacBook Air 1.6 - iMac 20" for the wife

bence8810 is offline
I guess this thread is dead, can be closed.

The problem is still outstanding, but it seems I am one of the few ones who use Samba for iPhoto library.

Cheers

Ben
QUOTE Thanks
giulio

 
giulio's Avatar
 
Member Since: Mar 19, 2007
Location: NY USA
Posts: 1,813
giulio is just really nicegiulio is just really nicegiulio is just really nicegiulio is just really nice
Mac Specs: iMac 5.1 | iMac 7.1 | iPod Touch | iPod Nano

giulio is offline
How much ram do you have?

Photos are compressed. To use the actual pictures, it must be decompressed in ram/swap. So figure the memory requirements are about 3x the file size.

Guessing 2MB/image compressed, 6MB decompressed, x 15,000 images... that's 90 GB of working memory.

Of course, iPhoto uses caches and thumbnails. But still... you get the idea.

schweb This has to be one of the best threads ever in MF history...
Cherokee This gets my vote for most innovative thread on Mac-Forums... ever.
QUOTE Thanks
bence8810

 
Member Since: Jul 01, 2007
Location: Budapest, Hungary
Posts: 94
bence8810 is an unknown at this point
Mac Specs: MacBook Air 1.6 - iMac 20" for the wife

bence8810 is offline
Quote:
Originally Posted by giulio View Post
How much ram do you have?

Photos are compressed. To use the actual pictures, it must be decompressed in ram/swap. So figure the memory requirements are about 3x the file size.

Guessing 2MB/image compressed, 6MB decompressed, x 15,000 images... that's 90 GB of working memory.

Of course, iPhoto uses caches and thumbnails. But still... you get the idea.
Hi

Right, but then how come others have no problem with 15,000 Images on their much slower Macs? Mine has 1GB of RAM by the way, nothing fancy, although in my pocket now I have another one, which will be installed tonight.

Any experience with iPhoto and Samba would still be appreciated. I left it the way it is for now, as I do need some solution, even if slow.

Thanks

Ben
QUOTE Thanks
bence8810

 
Member Since: Jul 01, 2007
Location: Budapest, Hungary
Posts: 94
bence8810 is an unknown at this point
Mac Specs: MacBook Air 1.6 - iMac 20" for the wife

bence8810 is offline
Hi

I have performed another test. I plugged in my MacBook to my switch directly with a CAT5 cable, and iPhoto goes like a dream. Its fast, responsive, beautiful.

I logged in to my SAMBA server, and checked the throughput on the LAN interface. While on WiFi, it sends data to the laptop at a speed of 2200KBit/sec and when on LAN, it sends 9000KBit/sec.

Well, its kind of obvious, my Router is slow. Its a Netgear, supposed to support 54MBitx2 in Super or whatever mode. Can I make it faster somehow? It only gives me 22MBit/sec.

If I buy an Airport station, will that increase the speed, and not only add to the looks of our apartment ?

Will an Aiport station perform at the desired speeds if I also have other Windows PCs with 802.11g cards in them?

Thanks

Ben
QUOTE Thanks

Post Reply New Thread Subscribe


« Has anyone else seen this? | Help! re-sizing quark doc! »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
iPhoto 5 won't share movie clips iWish Images, Graphic Design, and Digital Photography 3 09-26-2006 11:32 PM
Automatically mount Samba share zaphod_es Switcher Hangout 4 09-26-2006 10:25 AM
iphoto Problems nemonicx Switcher Hangout 2 09-16-2006 08:18 PM
SAMBA Share Connection mateo107 OS X - Operating System 0 09-05-2005 03:46 PM
Windows 2003 Share Problems laxurs OS X - Operating System 0 12-09-2003 04:45 PM

All times are GMT -4. The time now is 12:11 PM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?