summaryrefslogtreecommitdiff
path: root/sys/src/cmd/sshfs.c
diff options
context:
space:
mode:
authorqwx <qwx@sciops.net>2022-01-19 22:58:53 +0000
committerqwx <qwx@sciops.net>2022-01-19 22:58:53 +0000
commit9d43029ff984435111eff658308a44b4f3eee1cc (patch)
treec035dcf35b00252a8bc682772b0f58a92565279e /sys/src/cmd/sshfs.c
parentaa14ba62fd02ffd0e7053c23b2918e7aa46bcb86 (diff)
page: performance fixes
- fix showpage1 only decrementing proc counter once limit is reached; this blocked having more than one loadpages process after NPROC calls, since the next one has to wait until the last has exited - allow procs to skip pages currently being loaded by others; this forced processes to wait for each other at the same page - bump NPROC from 4 to 8 - (hack) immediately fork a few times after adding all pages at startup to force loading a batch of pages in parallel
Diffstat (limited to 'sys/src/cmd/sshfs.c')
0 files changed, 0 insertions, 0 deletions