Re: kernel: calcru: runtime went backwards

2005-11-07 Thread Niki Denev
Stephen Montgomery-Smith wrote: Giovanni P. Tirloni wrote: Try this, http://www.freebsd.org/doc/en/books/faq/book.html#CALCRU-NEGATIVE Thank you. I must admit that I missed this. Unfortunately all the suggestions in this FAQ seem to be out of date - none of the suggested sysctls or

kernel: calcru: runtime went backwards

2005-11-06 Thread Stephen Montgomery-Smith
This is on a recent FreeBSD-6.0 stable SMP machine. As root, run top -s0. Then, at the same time run this program: #include pthread.h #define D (110) void *thread(void *n) { int i; double array[D]; for (i=0;iD;i++) array[i] = i; } int main() { void *i; pthread_t tid; while (1) {

Re: kernel: calcru: runtime went backwards

2005-11-06 Thread Giovanni P. Tirloni
Stephen Montgomery-Smith wrote: This is on a recent FreeBSD-6.0 stable SMP machine. As root, run top -s0. Then, at the same time run this program: #include pthread.h #define D (110) void *thread(void *n) { int i; double array[D]; for (i=0;iD;i++) array[i] = i; } int main() { void *i;

Re: kernel: calcru: runtime went backwards

2005-11-06 Thread Stephen Montgomery-Smith
Giovanni P. Tirloni wrote: Try this, http://www.freebsd.org/doc/en/books/faq/book.html#CALCRU-NEGATIVE Thank you. I must admit that I missed this. Unfortunately all the suggestions in this FAQ seem to be out of date - none of the suggested sysctls or kernel config options seem to apply