Monday, December 12, 2022

Re: premature end of data for lang/go package (mips64)

On Mon, Dec 12, 2022 at 08:52:28AM -0000, Stuart Henderson wrote:
>
>This *shouldn't* break like this, but it's possible that if writing to
>the filesystem is very slow you have a timeout fetching the file. (The go
>package has a *lot* of small files and with the default mount options,
>creating a lot of new files on slow storage can take a very long time).

The media sustains 11MB/s random write, as tested with dd but the blocksize
was 1m. It's much slower with 4k or 512 bytes. But I know what you mean, having
seen the problem with git clone and svn co on (other) usb2 snd sdmmc.
Unfortunately there's no alternative to usb2 on this device.

>It might help to mount the filesystem holding /usr/local with the softdep
>flag.

Softdeps are turned on for all filesystems apart from swap

>Or you maybe able to workaround by downloading the package and installing
>it from local atorage rather than over the network.

Hadn't thought of looking for a local switch for pkg_add; thanks for the
suggestion.

--

No comments:

Post a Comment