Re: Dual core processors
In response to "Jeff Mohler" <[EMAIL PROTECTED]>: > Is a stock kernel config the 'fast' way to go on these CPUs? > > Sure wish there was an 'options I_WANNA_GO_FAST' or an 'options > RICKY_BOBBY' that would just do all the right things. > > Still not sure which scheduler to go with.. Unless something has changed very recently, most of the schedulers are considered "experimental" and have known bugs. The only one that I know is stable is SCHED_4BSD. Apparently, SCHED_ULE has some nice performance improvements when it's not causing panics. If you're not interested/capable in doing kernel debugging, you probably want to go with SCHED_4BSD. It would appear that some day SCHED_ULE will replace it, but not yet. -- Bill Moran Collaborative Fusion Inc. IMPORTANT: This message contains confidential information and is intended only for the individual named. If the reader of this message is not an intended recipient (or the individual responsible for the delivery of this message to an intended recipient), please be advised that any re-use, dissemination, distribution or copying of this message is prohibited. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Dual core processors
Is a stock kernel config the 'fast' way to go on these CPUs? Sure wish there was an 'options I_WANNA_GO_FAST' or an 'options RICKY_BOBBY' that would just do all the right things. Still not sure which scheduler to go with.. On 11/14/06, Juha Saarinen <[EMAIL PROTECTED]> wrote: On 11/15/06, Jeff Mohler <[EMAIL PROTECTED]> wrote: > I thought that since we both had HTT tags in the CPU ID, that we had it. Yeah, well... that's a funny thing that tag. Got it on my first-generation 1.3GHz Pentium 4 as well. Makes me wonder if Intel had that feature in the processors very early on, but only enabled it in the later cores. -- Juha http://www.geekzone.co.nz/juha ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Dual core processors
On 11/15/06, Jeff Mohler <[EMAIL PROTECTED]> wrote: I thought that since we both had HTT tags in the CPU ID, that we had it. Yeah, well... that's a funny thing that tag. Got it on my first-generation 1.3GHz Pentium 4 as well. Makes me wonder if Intel had that feature in the processors very early on, but only enabled it in the later cores. -- Juha http://www.geekzone.co.nz/juha ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Dual core processors
I thought that since we both had HTT tags in the CPU ID, that we had it. ;) On 11/14/06, Juha Saarinen <[EMAIL PROTECTED]> wrote: On 11/15/06, Jeff Mohler <[EMAIL PROTECTED]> wrote: > My dmesg matches yours Juha.. > > Would enabling Hyperthreading increase any of my processing power? Well, if you have the D830, no, because it doesn't have HTT support. :) As a general question, the answer is yes and no. Depends on your application basically, as well as the operating system itself. It's one of those questions that'll lead to long and detailed flame wars, unfortunately. -- Juha http://www.geekzone.co.nz/juha ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Dual core processors
On 2006/11/14 15:13, Jeff Mohler seems to have typed: > My dmesg matches yours Juha.. > > Would enabling Hyperthreading increase any of my processing power? It depends on load and so forth, most reports I saw vary from a minimal increase to a large decrease. The first few links from a google search return: http://librenix.com/?inode=3837 http://www.2cpu.com/articles/43_3.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Dual core processors
On 11/15/06, Jeff Mohler <[EMAIL PROTECTED]> wrote: My dmesg matches yours Juha.. Would enabling Hyperthreading increase any of my processing power? Well, if you have the D830, no, because it doesn't have HTT support. :) As a general question, the answer is yes and no. Depends on your application basically, as well as the operating system itself. It's one of those questions that'll lead to long and detailed flame wars, unfortunately. -- Juha http://www.geekzone.co.nz/juha ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Dual core processors
My dmesg matches yours Juha.. Would enabling Hyperthreading increase any of my processing power? On 11/14/06, Juha Saarinen <[EMAIL PROTECTED]> wrote: On 11/15/06, Robert Fitzpatrick <[EMAIL PROTECTED]> wrote: > Looks like my hyperthreading is enabled and it is in the BIOS. I was > told there was a dual-core in the machine, but not confirmed. But there > should be two with HT anyway as seen, correct? This is a dmesg from an Intel D830 box: CPU: Genuine Intel(R) CPU 3.20GHz (3217.43-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0xf47 Stepping = 7 Features=0xbfebfbff Features2=0x649d> AMD Features=0x2010 AMD Features2=0x1 Cores per package: 2 I think you do have a single processor with hyperthreading (logical CPUs) and not a dual-core model. To get hyperthreading up and running, you need to add: machdep.hyperthreading_allowed=1 to /etc/sysctl.conf or change it manually. Please google for the security implications of doing this first though. -- Juha http://www.geekzone.co.nz/juha ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Dual core processors
On 11/15/06, Robert Fitzpatrick <[EMAIL PROTECTED]> wrote: Looks like my hyperthreading is enabled and it is in the BIOS. I was told there was a dual-core in the machine, but not confirmed. But there should be two with HT anyway as seen, correct? This is a dmesg from an Intel D830 box: CPU: Genuine Intel(R) CPU 3.20GHz (3217.43-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0xf47 Stepping = 7 Features=0xbfebfbff Features2=0x649d> AMD Features=0x2010 AMD Features2=0x1 Cores per package: 2 I think you do have a single processor with hyperthreading (logical CPUs) and not a dual-core model. To get hyperthreading up and running, you need to add: machdep.hyperthreading_allowed=1 to /etc/sysctl.conf or change it manually. Please google for the security implications of doing this first though. -- Juha http://www.geekzone.co.nz/juha ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Dual core processors
On Tue, 2006-11-14 at 15:04 -0800, Josh Carroll wrote: > > up in the 'C' column of top after I've rebooted with the newly compiled > > kernel. > > Run top with the -S argument. You should then see two "idle" > processes, one for each CPU: > >11 root 1 171 52 0K 8K CPU0 0 72.1H 91.70% idle: cpu0 >10 root 1 171 52 0K 8K RUN1 72.2H 90.97% idle: cpu1 > > Can you confirm whether you see that or not? I do not have APIC_IO in > my kernel either, and it is showing both cores in top (Core 2 Duo > CPU). > Thanks, yes, I see both cpu0 and cpu1 and cpu1 is 100% idle compared to cpu0 only 45-50% idle at this time. I did some googling for hyperthreadin after reading Bill's response and checked sysctl to find these settings: esmtp# sysctl machdep.hlt_logical_cpus machdep.hlt_logical_cpus: 0 esmtp# sysctl machdep.smp_cpus sysctl: unknown oid 'machdep.smp_cpus' esmtp# sysctl machdep.hlt_cpus machdep.hlt_cpus: 2 Looks like my hyperthreading is enabled and it is in the BIOS. I was told there was a dual-core in the machine, but not confirmed. But there should be two with HT anyway as seen, correct? -- Robert ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Dual core processors
up in the 'C' column of top after I've rebooted with the newly compiled kernel. Run top with the -S argument. You should then see two "idle" processes, one for each CPU: 11 root 1 171 52 0K 8K CPU0 0 72.1H 91.70% idle: cpu0 10 root 1 171 52 0K 8K RUN1 72.2H 90.97% idle: cpu1 Can you confirm whether you see that or not? I do not have APIC_IO in my kernel either, and it is showing both cores in top (Core 2 Duo CPU). Regards, Josh ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Dual core processors
In response to Robert Fitzpatrick <[EMAIL PROTECTED]>: > I have a server with 6.1 and one dual-core processor and the SMP option > was built in the kernel according to the doc below, but only zeros show > up in the 'C' column of top after I've rebooted with the newly compiled > kernel. > > http://www.freebsddiary.org/smp.php > > I did not add APIC_IO as the doc suggested as it complains the option is > invalid, plus I did not do this for my other 5.4 server which shows all > processors in top. Both configs have a device of apic, neither has the > APIC_IO option. However, the other server is running 2 physical CPU's > and I see 0 thru 3 in the C column in top. Also, dmesg shows CPU #1 > Launched along with everything else: > > esmtp# dmesg|grep CPU > CPU: Intel(R) Pentium(R) 4 CPU 3.00GHz (3010.67-MHz 686-class CPU) > Logical CPUs per core: 2 > FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs > cpu0: on acpi0 > acpi_throttle0: on cpu0 > cpu1: on acpi0 > SMP: AP CPU #1 Launched! > > Why would I not see any other CPU numbers under top like I do in my > other server? Based on your dmesg, I don't believe you have a dual-cored CPU. It looks as if it's hyperthreaded, which is different. Hyperthreading is disabled in FreeBSD by default because of possible security issues. It can be enabled by setting a sysctl ... I recommend you do a bit of reading on the sysctl mechanism or it's behaviour might confuse you. -- Bill Moran Collaborative Fusion Inc. IMPORTANT: This message contains confidential information and is intended only for the individual named. If the reader of this message is not an intended recipient (or the individual responsible for the delivery of this message to an intended recipient), please be advised that any re-use, dissemination, distribution or copying of this message is prohibited. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Dual core processors
I have a server with 6.1 and one dual-core processor and the SMP option was built in the kernel according to the doc below, but only zeros show up in the 'C' column of top after I've rebooted with the newly compiled kernel. http://www.freebsddiary.org/smp.php I did not add APIC_IO as the doc suggested as it complains the option is invalid, plus I did not do this for my other 5.4 server which shows all processors in top. Both configs have a device of apic, neither has the APIC_IO option. However, the other server is running 2 physical CPU's and I see 0 thru 3 in the C column in top. Also, dmesg shows CPU #1 Launched along with everything else: esmtp# dmesg|grep CPU CPU: Intel(R) Pentium(R) 4 CPU 3.00GHz (3010.67-MHz 686-class CPU) Logical CPUs per core: 2 FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0: on acpi0 acpi_throttle0: on cpu0 cpu1: on acpi0 SMP: AP CPU #1 Launched! Why would I not see any other CPU numbers under top like I do in my other server? -- Robert ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Dual-core processors and FreeBSD 6.0
On Thu, 2005-12-15 at 18:57 -0800, Justin Franks wrote: > Hello, > I would like to know if FreeBSD 6.0 supports dual-core CPU chips. Yes > Note, dual-core is different from dual CPU. > On Jun. 13, 2005 PT Wired magazine explained a dual-core CPU as the following > in a article titled "The New Chips on the Block" > "A dual-core processor differs from a single-core chip in that it has two > physical computer processing unit, or CPU, cores on a > single die." > Link here: > http://www.wired.com/news/infostructure/0,1377,67795,00.html > > That googling energy should have been saved by visiting freebsd.org http://www.freebsd.org/platforms/amd64.html > > -Justin Franks > Ph: 415.261.0706 > Fx: 925-935-6096 > http://www.inetassociation.com > > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" -- Dev Tugnait <[EMAIL PROTECTED]> ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Dual-core processors and FreeBSD 6.0
Hello, I would like to know if FreeBSD 6.0 supports dual-core CPU chips. Note, dual-core is different from dual CPU. On Jun. 13, 2005 PT Wired magazine explained a dual-core CPU as the following in a article titled "The New Chips on the Block" "A dual-core processor differs from a single-core chip in that it has two physical computer processing unit, or CPU, cores on a single die." Link here: http://www.wired.com/news/infostructure/0,1377,67795,00.html -Justin Franks Ph: 415.261.0706 Fx: 925-935-6096 http://www.inetassociation.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"