NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Profiling a build



void%f-m.fm@localhost (void) writes:

>I'm late to this, but I'd avoid building on the mmcsd or 
>on the usb2 if at all possible. For stuff like this, I create
>an nfs share on another machine, mount it on the pi, and build there.
>It is *much* quicker and the pi remains interactive, in my experience.
>-- 

"on the usb2" depends. It's mostly related to using the same filesystem
for writes. If you set up the build to write to a separate filesystem
(or even a separate physical disk), the result should be better than
NFS.

Saying that, NFS is not ideal for building, there is lots of latency
added to even traversing file paths, and with many files (like in
a pbulk scenario), the filesystem caches won't be effective.

When I was using a Pi3 for pbulk, I used an iSCSI disk with FFS instead.
This proved to be 2-3 times faster than NFS.



Home | Main Index | Thread Index | Old Index