[PC-BSD Testing] upgrading.. slower than needs be

Kris Moore kris at pcbsd.org
Mon Dec 19 08:22:10 PST 2011

On 12/18/2011 04:54, Julian Elischer wrote:
> On 12/18/11 1:31 AM, Julian Elischer wrote:
>> On 12/18/11 1:27 AM, Julian Elischer wrote:
>>> On 12/16/11 8:54 AM, Kris Moore wrote:
>>>> On 12/16/2011 11:35, Julian Elischer wrote:
>>>>> On 12/5/11 8:02 AM, Kris Moore wrote:
>>>>>> On 12/01/2011 21:06, Julian Elischer wrote:
>>>>>>> On 12/1/11 5:03 PM, Julian Elischer wrote:
>>>>>>>> Watching the RC1->RC2 upgrade on my nice shiny new 15Mb/sec
>>>>>>>> internet
>>>>>>>> link, I now see that teh upgrade process does one file at a time.
>>>>>>>> it would be a lot faster to overlap the downloads if it were
>>>>>>>> possible. Does the upgrade process know of more than one file
>>>>>>>> that it
>>>>>>>> needs to get?
>>>>>>> One could at least make the fetch of the checksum file be done in
>>>>>>> parallel, so that the tcp handshake is done during the transfer
>>>>>>> of the
>>>>>>> main file.
>>>>>>> Looking at my system upgrading however it looks as though there is
>>>>>>> something else that should be found too.
>>>>>>> It's 95 % idle, yet it is only asking for each file, one at a time
>>>>>>> with large gaps between them.(10 seconds)?
>>>>>>> Disk I doesn't seem to be  a bottleneck either so I can't work out
>>>>>>> what the holdup is.
>>>>>> I'll see what we can do to speed this up :) Parallel downloads would
>>>>>> help for sure, if anything we can do the md5 at the same time.
>>>>> looking at the new announcement..
>>>>> several other things
>>>>> In RC2 when I try log in as root to do the upgrade to RC3 lots of
>>>>> windows come up 'greyed out' and I can't make the take notice..  for
>>>>> example the upgrade control window.. not  idea what that is about.
>>>>> When I do it from MY login it works but the upgrade seems to
>>>>> always go
>>>>> to pcbsd.org and never to a mirror.. I can't make it take notice of
>>>>> the 'mirror' setting in the PCBSD control panel.
>>>>>   looks like I'm beating up someone's DSL link... it's slow.
>>>> The initial patch meta-data (less than 10k) is downloaded from our
>>>> master update server. After that, the rest comes from your selected
>>>> mirror. Check /usr/local/etc/pcbsd.conf to see what mirror is set.
>>>>> not the upgrade failed once, and it seems confused about whether
>>>>> it is
>>>>> done or not..  how do I check? where are the files stored?
>>>> The upgrade files are stored in /usr/local/tmp/9.0-RC3
>>>>> how do I manually kick it off and how do I tell it to go to somewhere
>>>>> fast?
>>>> # pc-updatemanager install 9.0-RC3
>>> thanks
>>> currently I can not connect to ftp.pcbsd.org
>>> I get rejects for my SYNs
>>> however there is something wrong because fetch is retrying and it
>>> immediatly retries teh DNS lookup and teh connect so that the result
>>> is a flood of SYN/REJ/DNS/SYN?REJ/DNS packets at about 100 cycles
>>> per second..  maybe an arg to fetch to not retry quite so quickly
>>> will stop your server from being flooded by SYNs (which I suspect it
>>> is right now)
>> I added -w 10 -r   to the fetch command and it seems a lot happier.
> when it eventually succeeds, it however decides I'm already upgraded..
> however if I try add a new system package (Base-Devel)  it looks for
> RC2 not RC3..
> and NOW for some reason it says that 9.0-RC3 is an invalid update..
> so the system doesn't know what release it is currently at.
> in addition the files in /usr/local/tmp/9.0-RC3 don't all seem to be
> there..
> The packages directory  seems to stop at 'e'. There are no packages
> starting with 'f-z'.
> maybe I should remove the whole directory
> hmm that hasn't helped with the "invalid update" problem.

Did you reboot and let the upgrade finish? Once the download is done,
the update will begin to apply at the next system bootup.

Kris Moore
PC-BSD Software

More information about the Testing mailing list