List:General Discussion« Previous MessageNext Message »
From:Dan Nelson Date:July 21 1999 3:04pm
Subject:Re: Dual Processor
View as plain text  
In the last episode (Jul 21), sinisa@stripped said:
> Dan Nelson writes:
>  > In the last episode (Jul 20), sinisa@stripped said:
>  > > Regarding your first question, MySQL is fully multi-threaded, as
>  > > you know, so do not run 2 servers, please !!
>  > 
>  > Multi-threaded != multi-processing.  FreeBSD's thread
>  > implementation is user-level, so the entire mysql process would
>  > run on one CPU.
> 
> I must consent my ignorance regarding FreeBSD, but if MySQL runs, and
> it uses threads, then threads are not just user-level.
> 
> Then, it is only up to SMP kernel to distribute processes among CPUs.
> 
> Or do you want to tell me that FreeBSD threading is independent of
> its kernel ????

Yes, I do.  FreeBSD's libc_r threads are managed through the use of
setitimer() and the SIGVTALRM signal, just like MIT pthreads.

	-Dan Nelson
	dnelson@stripped
Thread
Dual ProcessorStephen Roderick20 Jul
  • Re: Dual ProcessorScott Hess20 Jul
  • Dual Processorsinisa20 Jul
    • Re: Dual ProcessorDan Nelson21 Jul
      • Re: Dual ProcessorStephen Roderick21 Jul
        • Re: Dual ProcessorOrlando Andico21 Jul
          • Re: Dual ProcessorFred Read21 Jul
            • Re: Dual Processorsinisa21 Jul
            • Re: Dual ProcessorOrlando Andico21 Jul
              • Re: Dual ProcessorPatrick Greenwell21 Jul
                • Re: Dual ProcessorOrlando Andico21 Jul
                  • Re: Dual ProcessorPatrick Greenwell21 Jul
                    • Re: Dual ProcessorOrlando Andico21 Jul
                      • Re: Dual ProcessorStephen Roderick21 Jul
                      • Re: Dual ProcessorPatrick Greenwell21 Jul
      • Re: Dual Processorsinisa21 Jul
        • Re: Dual ProcessorVivek Khera21 Jul
          • Re: Dual Processorsinisa22 Jul
            • Re: Dual ProcessorEric Peters22 Jul
        • Re: Dual ProcessorDan Nelson21 Jul