port selfupdate incredibly slow

cowwoc cowwoc at bbs.darktech.org
Mon Oct 15 17:26:07 PDT 2012


     It seems a bit silly to unpack a tar file every time I run "port 
selfupdate". If I run it multiple times in a row, shouldn't it notice 
very quickly that nothing has changed? Can't you use timestamps to speed 
this up?


On 15/10/2012 7:29 PM, Brandon Allbery [via Mac OS Forge] wrote:
> On Mon, Oct 15, 2012 at 7:19 PM, cowwoc <[hidden email] 
> </user/SendEmail.jtp?type=node&node=197005&i=0>> wrote:
>         You're right. It's writing an awful lot of data. Why is that?
>     25 seconds times an average of 10MB/s (which is a conservative
>     estimate)... it's writing out around 250MB.
> I haven't updated this week yet, but:
> -rw-r--r--  1 root  admin  54497280 Oct 10 21:31 
> /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports.tar 
> <http://rsync.macports.org/release/tarballs/ports.tar>
> is what it's unpacking.  If your question is why it's that large, I 
> cannot answer but I'm not very surprised by it.  (Note that this is 
> not compressed.)
> And you seem to have gotten stuck on this whole network red herring 
> again, because if your local hard drive only does 10MB/s then you have 
> far worse problems than MacPorts.  This is not doing ANY network I/O 
> unless you (and yes, I mean you, not Apple and certainly not MacPorts) 
> replaced your local hard drive with NAS; it is unpacking a (just 
> downloaded) local file to the local disk, indeed to the very same 
> directory.
> (The command it's running is called "tar"; run "man tar" to see what 
> it does.  While it has some ability to use the network, the command 
> you cited is not using an rmt filespec.)
> -- 
> brandon s allbery kf8nh sine nomine associates
> [hidden email] </user/SendEmail.jtp?type=node&node=197005&i=1> [hidden 
> email] </user/SendEmail.jtp?type=node&node=197005&i=2>
> unix/linux, openafs, kerberos, infrastructure http://sinenomine.net
> _______________________________________________
> macports-users mailing list
> [hidden email] </user/SendEmail.jtp?type=node&node=197005&i=3>
> http://lists.macosforge.org/mailman/listinfo/macports-users
> ------------------------------------------------------------------------
> If you reply to this email, your message will be added to the 
> discussion below:
> http://mac-os-forge.2317878.n4.nabble.com/port-selfupdate-incredibly-slow-tp117503p197005.html 
> To unsubscribe from port selfupdate incredibly slow, click here 
> <http://mac-os-forge.2317878.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=117503&code=Y293d29jQGJicy5kYXJrdGVjaC5vcmd8MTE3NTAzfDE1NzQzMjEyNDc=>.
> <http://mac-os-forge.2317878.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> 

View this message in context: http://mac-os-forge.2317878.n4.nabble.com/port-selfupdate-incredibly-slow-tp117503p197006.html
Sent from the MacPorts - Users mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20121015/771305cc/attachment.html>

More information about the macports-users mailing list