Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 88712 - bind 9.2.5 does not recognize second cpu smp
Summary: bind 9.2.5 does not recognize second cpu smp
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: BIND Maintainers (DISABLED)
URL:
Whiteboard:
Keywords:
: 90689 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-04-11 06:23 UTC by Timo Maier
Modified: 2005-04-28 02:03 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Timo Maier 2005-04-11 06:23:25 UTC
I'm running 
[ebuild   R   ] net-dns/bind-9.2.5  +berkdb -bind-mysql -caps -dlz -doc -idn +ipv6 -ldap -mysql -odbc -postgres (-selinux) +ssl 0 kB
on a dual PIII and second CPU is not recognized

This is a part from my log file:
Apr 11 15:10:47 [named] starting BIND 9.2.5 -u named -n 2
Apr 11 15:10:47 [named] using 1 CPU
Apr 11 15:10:47 [named] loading configuration from '/etc/bind/named.conf'

iirc last version of bind was using both CPUs. 

I think it's because of a missing --enable-threads in the ebuild, but this is just a wild guess.


Reproducible: Always
Steps to Reproduce:
1.
2.
3.

Actual Results:  
uses only 1 cpu

Expected Results:  
should use as many cpus as given in the config file (or -n parameter)
Comment 1 Konstantin Arkhipov (RETIRED) gentoo-dev 2005-04-11 07:38:29 UTC
known bug.
that's because threading is strictly disabled in bind's configure options (`grep thr bind-9.2.5.ebuild`) for stability reasons.

9.2.5-r1 will have 'threads' use flag to regulate it.

anyway, - thanks for your attention, Timo.
Comment 2 Konstantin Arkhipov (RETIRED) gentoo-dev 2005-04-11 07:39:09 UTC
hmm. i'll close it when -r1'll hit portage tree.
Comment 3 Konstantin Arkhipov (RETIRED) gentoo-dev 2005-04-12 04:01:27 UTC
-r1 is in portage now, so closing this bug.
thanks, Timo.
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2005-04-28 02:03:12 UTC
*** Bug 90689 has been marked as a duplicate of this bug. ***