Off-topic - NetBSD

Josef Brzak brzak at linux.fjfi.cvut.cz
Fri Feb 7 02:45:12 CET 2003


Dobry den,

predne se omlouvam, za off-topis, ktery je o NetBSD, ale znalci FreeBSD by
mi mohli poradit :-)

Instaloval jsem NetBSD verze 1.6 na pocitac SPARCstation 20, 2x CPU. Chtel
jsem vyuzit obe CPU, tak jsem pridal do jadra parametry:

options         MULTIPROCESSOR          # include multiprocessor support

cpu*            at mainbus0             # declare additional CPUs

ktere jsem nasel u zdrojaku. Po prekladu noveho jadra jsem prestartoval
pocitac a pri startu to spravne vypisuje:

mainbus0 (root): SUNW,SPARCstation-20
cpu0 at mainbus0: mid 8: TMS390Z50 v0 or TMS390Z55 @ 50 MHz, on-chip FPU
cpu0: physical 20K instruction (64 b/l), 16K data (32 b/l), 1024K external
(32 b/l): cache enabled
cpu1 at mainbus0: mid 10: TMS390Z50 v0 or TMS390Z55 @ 50 MHz, on-chip FPU
cpu1: physical 20K instruction (64 b/l), 16K data (32 b/l), 1024K external
(32 b/l): cache enabled

problem je v tom, ze se pouziva jen jedno CPU napr. podle TOPu:

load averages:  0.16,  0.19,  0.13    03:03:33
18 processes:  17 sleeping, 1 on processor

Memory: 13M Act, 140K Wired, 3160K Exec, 7844K File, 158M Free
Swap: 256M Total, 256M Free

nebo ze zateze systemu:

  PID USERNAME PRI NICE   SIZE   RES STATE      TIME   WCPU    CPU COMMAND
  306 sshd      49    0   428K 1608K RUN/0      0:40 98.06% 86.08% sshd
  304 root      28    0   224K  928K CPU/0      0:00  0.05%  0.05% top
  170 root       2    0   388K 1368K select/0   0:30  0.00%  0.00% sshd
    5 root      18    0     0K   24M syncer/0   0:10  0.00%  0.00% [ioflush]

nemel by prosim Vas nekdo tuseni, jak prinutit to NetBSD, aby vyuzivalo
oba procesory?

Predem Vam moc dekuji za rady,

	Pepa Brzak




More information about the Users-l mailing list