If you like BoxMatrix then please contribute Supportdata, Supportdata2, Firmware and/or Hardware (get in touch).
My metamonk@yahoo.com is not reachable by me since years. Please use hippie2000@webnmail.de instead.
Property:smtc
BoxMatrix >> System >> smtc | @ BoxMatrix - IRC-Chat - Translate: de es fr it nl pl |
News | Selectors | Models | Accessories | Components | Environment | Config | Commands | System | Webif | Software | Develop | Lexicon | Community | Project | Media |
Devices | Filesystems | Partitions | Sockets | Netlink | Pipes | Interfaces | Bridges | Ports | Events | Sources | Sinks | AVMIPC | Processes | Watchdogs | Memory | Slab | Vmalloc | ProcFS | SysFS | Research |
Procfs-Object
Procfs-Object: | smtc - type File | Wiki | Freetz | IPPF | whmf | AVM | Web |
Location: | System >> Proc-Filesystem - Origin: Linux | ||||||
Path: | /proc | ||||||
Properties: | Firmware: 6.87 - Kernel (perm): 3.10.73 (r) | ||||||
Function: | MIPS TC SMTC statistics. |
Goto: Examples - Dependencies - Model-Matrix - Help Supportdata2 - SMW-Browser
Details
smtc provides MIPS TC SMTC statistics. smtc is provided by smtc-proc.ko.
To understand the naming hierarchy in MIPS world:
CPU
= physical CPU which can have multiple:Cores
= physical CPU core which can have multiple:VPEs
= Virtual Processing Elements (similar to hyperthreading cores) which can have multiple:TCs
= Thread Contexts
Normally VPEs are used as virtual cores in Linux, with SMTC the TCs are used as virtual cores.
Supportdata2 includes smtc
in the CPUinfo section since sd2-10.
In Supportdata-Probes it was never included (up to fw 7.39).
SMTC is enabled by CONFIG_MIPS_MT_SMTC, excerpt from arch/mips/Kconfig
:
Use all TCs on all VPEs for SMP (DEPRECATED) Help text 3.14–3.15: This is a kernel model which is known as SMTC. This is supported on cores with the MT ASE and presents all TCs available on all VPEs to support SMP. Help text 2.6.17–3.13: This is a kernel model which is known a SMTC or lately has been marketesed into SMVP. is presenting the available TC's of the core as processors to Linux. On currently available 34K processors this means a Linux system will see up to 5 processors. The implementation of the SMTC kernel differs significantly from VSMP and cannot efficiently coexist in the same kernel binary so the choice between VSMP and SMTC is a compile time decision.
Excerpt from the Linux MIPS Wiki 34K article;
SMTC
is presenting the available TCs of the core as processors to Linux. On currently available 34K
processors this means a Linux system will see up to 5 processors. The implementation of the
SMTC kernel differs significantly from VSMP. It was found that SMTC cannot efficiently coexist
in the same kernel binary with other modes of multiprocessor support, so enabling SMTC is a
compile time decision. The choice between VSMP and SMTC is a bit delicate as it is affected by
clockspeed, memory speed, the specific workload and other factors. As such the choice should
not be made on an evaluation board such as the Malta but preferably on the final target
hardware. Kevin Kissel's presentation provides further details.
Alternative location: Kevin Kissel's presentation.
Examples
7412 fw 6.87 example:
root@fritz:/var/mod/root# cat /proc/smtc SMTC Status Word: 0x00000003 Config7: 0x80080400 EBASE: 0x81d00000 Counter Interrupts taken per CPU (TC) 0: 0 1: 0 Self-IPIs by CPU: 0: 104627 1: 97329 0 Recoveries of "stolen" FPU
Dependencies
Daily updated index of all dependencies of this object. Last update: GMT.
A **
in the Mod
column marks info from Supportdata2 probes, which will always stay incomplete.
A -
in the Mod
column marks manual research, the Firmware
then shows where the Object
occurs, not the Relation
.
Relation | Typ | Object | Mod | Firmware | Info | Origin |
---|---|---|---|---|---|---|
0 dependencies for this object |
Model-Matrix
Daily updated index of the presence, path and size of this object for each model. Last update: 2024-12-24 05:16 GMT.
Showing all models using this object. Click any column header (click-wait-click) to sort the list by the respective data.
The (main/scrpn/boot/arm/prx/atom/rtl)
label in the Model
column shows which CPU is meant for Multi-Linux models.
Note that this list comes from Supportdata2 probes, which can have arbitrary settings and come from different firmware versions.
It doesn't say much if a model is not listed here. It may be a missing supportdata2 file or just a disabled feature.
Model | Firmware | Path | Kernel (perm) |
---|---|---|---|
FRITZ!Box 7412 | 6.87 | /proc | 3.10.73 (r) |
1 model uses this object |
Help Supportdata2
The data in this article is incomplete since it was manually collected using the Supportdata2 project.
Unlike the Supportdata-Probes which have been collected for years Supportdata2 is brand new and only has a few probes.
If you have access to a shell then please help to extend the Supportdata2 collection to improve this data.
It's easy and it's done in minutes. Please send created data as an Email attachment to the address listed here. Thanks!