kernel fixed resource allocation se SMP systhma
Constantinos Antoniou
costas at MIT.EDU
Sun May 16 18:28:23 EEST 2004
sxetikws off-topic erwtisi, alla eimai periergos:
Se ena mixanima P4 at 2.8 (me hyperthreading, an paizei kanena rolo),
egatestisa fedora core 1.
kata to reboot, brika ena kanoniko kernel kai ena smp. an bootarw ton
smp to top kai to /proc/cpuinfo "deixnoun" 2 processores.
Ti paizei? Exw kapoio logo na trexw kapoion apo tous dyo pirines? ;h to
idio kanei?
Episis, me mperdevei to oti deixnei cpu utilization kai stous 2 "cpus"
Eyxaristw,
Costas
==============
$top
11:26:41 up 3 days, 16:57, 6 users, load average: 0.01, 0.41, 0.79
74 processes: 73 sleeping, 1 running, 0 zombie, 0 stopped
CPU states: cpu user nice system irq softirq iowait idle
total 0.2% 0.0% 1.0% 0.0% 0.0% 0.0% 198.8%
cpu00 0.2% 0.0% 0.2% 0.0% 0.0% 0.0% 99.6%
cpu01 0.0% 0.0% 0.8% 0.0% 0.0% 0.0% 99.2%
Mem: 497964k av, 435308k used, 62656k free, 0k shrd,
148032k buff
178888k active, 191628k inactive
Swap: 2048248k av, 62748k used, 1985500k free
178760k cached
PID USER PRI NI SIZE RSS SHARE STAT %CPU %MEM TIME CPU
COMMAND
4952 costas 16 0 2804 2228 2120 S 0.9 0.4 57:05 1
magicdev
24708 costas 16 0 1180 1180 896 R 0.1 0.2 0:00 0 top
<snip>
kai
$ more /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 15
model : 2
model name : Intel(R) Pentium(R) 4 CPU 2.80GHz
stepping : 9
cpu MHz : 2805.404
cache size : 512 KB
physical id : 0
siblings : 2
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge
mca cmov pat pse36 clflush dts acpi mmx fxsr sse
sse2 ss ht tm pbe cid
runqueue : 0
bogomips : 5596.77
processor : 1
vendor_id : GenuineIntel
cpu family : 15
model : 2
model name : Intel(R) Pentium(R) 4 CPU 2.80GHz
stepping : 9
cpu MHz : 2805.404
cache size : 512 KB
physical id : 0
siblings : 2
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge
mca cmov pat pse36 clflush dts acpi mmx fxsr sse
sse2 ss ht tm pbe cid
bogomips : 5609.88
On 16 Μαϊ 2004, at 11:07 πμ, Steve Stavropoulos wrote:
> On Sun, 16 May 2004, Alexandros Papadopoulos wrote:
>
>> Ευχαριστώ, το CPU affinity με καλύπτει πλήρως από θεωρητικής άποψης.
>>
>> Το ατυχές γεγονός της υπόθεσης είναι ότι προσπαθούσα να καλύψω τις
>> τεχνικές προδιαγραφές ενός διαγωνισμού, και συνεπώς έπρεπε να βρω
>> commercial λύση (RedHat, SuSE κτλ) που να υποστηρίζει affinity
>> out-of-the-box. Εφόσον τα περισσότερα enterprise distributions
>> χρησιμοποιούν 2.4 πυρήνες ακόμα, δε μπόρεσα να καλύψω την προδιαγραφή.
>>
>
> H redhat toulaxiston sthn teleytaia version tou enterprise ths (3, h
> opoia bghke to prohgoumeno kalokairi an 8ymamai kala) exei ton O(1)
> scheduler, me CPU affinity supported. Epishs, kai to fedora exei
> support
> gia CPU affinity. Ola ayta me kernel 2.4 :)
>
>
> --
> linux-greek-users mailing list -- http://lists.hellug.gr
>
>
--
Constantinos Antoniou
Ph.D. Candidate
Massachusetts Institute of Technology
Intelligent Transportation Systems Program
77 Massachusetts Ave., NE20-208, Cambridge, MA 02139
(T) 617-252-1113 * (F) 617-252-1130 * (email) costas at mit.edu
More information about the Linux-greek-users
mailing list