I suspect that statfs() doesn't work for memory-resident filesystems. Maybe statvfs() does; I'll try that. Also I'll check to error return (currently not done) so we can see if this is the problem. -- David
On 04-Feb-2013 1:12 PM, Ken Sharp wrote: > > Hi, > > I am attempting to run a BOINC client with LHC@Home on a tmpfs mount in > order to reduce disk I/O. The server is highly reliable so this will not > be a problem. > > Unfortunately the numbers reported by BOINC do not seem to add up, > regardless of the preference settings. > > I have tried with 7.0.44 (and 7.0.26) under Ubuntu 12.04. I have a > feeling that this may be related to the tmpfs mount, but if it is me > being thick then so be it. > > 04-Feb-2013 19:58:19 [---] max disk usage: 0.24GB > > 04-Feb-2013 19:59:21 [LHC@home 1.0] SixTrack needs 152.68MB more disk > space. You currently have 38.06 MB available and it needs 190.73 MB. > > tmpfs 256M 14M 243M 6% /tmp > > <disk_max_used_gb>10.000000</disk_max_used_gb> > <disk_max_used_pct>100.000000</disk_max_used_pct> > <disk_min_free_gb>0.000000</disk_min_free_gb> > > I have tried similar with larger, dedicated tmpfs mounts but the problem > is the same. > > I cannot see an obvious problem with my preferences nor my free disk > space. Is BOINC incompatible with tmpfs? > > Regards, > > Ken > _______________________________________________ > boinc_alpha mailing list > [email protected] > http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_alpha > To unsubscribe, visit the above URL and > (near bottom of page) enter your email address. > _______________________________________________ boinc_dev mailing list [email protected] http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev To unsubscribe, visit the above URL and (near bottom of page) enter your email address.
