Ignore:
Timestamp:
Jan 18, 2017, 12:36:35 AM (8 years ago)
Author:
rick
Message:

Speed-up image transfer, by using compression.

The 400MB image could be compressed to roughly 123MB (4:1 compression ratio)
when doing file based gzip compression. Yet, since we cannot store the
temponary file at the node we are stuck in compressing it on-the-fly. Still a
nice optimalisation from 144 sec to 87 sec (on a wired connection). It could
even be faster but the limiting factor currently is the CPU-power on the board
for decompression and next the write-speed to the CF disk.

When using a 10Mbit connection I estimate roughly 300 sec for an update to take
place.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/releng-11/nanobsd/tools/image

    r13720 r13722  
    9999
    100100  cat $updatecmd | ssh $host "cat > $updatecmd" || exit 1
    101   cat $img | ssh $host "sh -x $updatecmd" || exit 1
     101  cat $img | ssh -C $host "sh -x $updatecmd" || exit 1
    102102
    103103  if $do_reboot; then
Note: See TracChangeset for help on using the changeset viewer.