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.

0
U

Property:do write (procfs)

From BoxMatrix


BoxMatrix >> System >> do_write (procfs) @ 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

Info
  
Name-Collision - multiple objects in this wiki use the name do_write!
do_write (bench) Result: MemBench Linear Write Benchmark.
do_write (procfs) Test: MemBench Linear Write Benchmark.

Procfs-Object

Goto:   Examples  -  Dependencies   -   Model-Matrix   -   Help Supportdata2   -   SMW-Browser

Details

do_write is an open source RAM Benchmark by AVM which performs a Linear Write test (using cache).
Initially located at /proc/avm it was moved to /proc/avm/benchmark later. See the Path in the Model-Matrix.

This test writes to continous memory locations so it is CPU cache friendly.

do_write is part of the MemBench suite. For an overview of all tests see help (procfs) and the Benchmark article.

Excerpts from the test results (german):

6490 ATOM:
Lineares Schreiben in den RAM.

6490 ARM:
Einfaches Schreiben (Cache-Nutzung).

7240 / 7390 / 7490 MIPS:
Einfaches Schreiben.

Excerpt from the source code avm_membench.c (german):

/*------------------------------------------------------------------------------------------*\
 * Simple Write
 *
 * -1x 4-Byte Schreiben
 *      -> 1 Zugriff pro Schleifendurchlauf
\*----------------------------------------------------------------------------------------- */

Examples

7530 fw 7.29 example:

root@fritz1:/var/mod/root# cat /proc/avm/benchmark/do_write

cat: read error: Cannot allocate memory

6490 fw 7.29 example - ATOM side:

root@fritz2:/var/mod/root# cat /proc/avm/benchmark/do_write

AVM-RAM-Benchmark
=============================================
IRQs: off (alle Tests mit deaktivierten IRQs)
CPU-Clock: 1200042000
RAM-Clock: 100000000 (eff. Datentaktrate)
BUS-Breite (Word=): 32 Bit
Measure-Time: 1 * 1.0s

-- Results --
=============================================================================
 type             ! total read ! loops ! DDR-Ticks ! 32Bit     !
                  !    in kb   !       ! /32Bit    ! Worte/s   ! kB/s
=============================================================================
write             !  760832    ! 1     !     0.513 ! 194772992 ! 760832
                  !            !       !           !           !
Lineares Schreiben in den RAM.
-----------------------------------------------------------------------------

6490 fw 7.29 example - ARM side:

root@fritz2:/var/mod/root# rpc cat /proc/avm/benchmark/do_write

AVM-RAM-Benchmark
=============================================
IRQs: off (alle Tests mit deaktivierten IRQs)
CPU-Clock: 450000000
RAM-Clock: 250000000 (eff. Datentaktrate)
BUS-Breite (Word=): 32 Bit
Measure-Time: 1 * 1.0s

-- Results --
=============================================================================
 type             ! total read ! loops ! DDR-Ticks ! 32Bit     !
                  !    in kb   !       ! /32Bit    ! Worte/s   ! kB/s
=============================================================================
write             !  128896    ! 1     !     7.576 !  32997376 ! 128896
                  !            !       !           !           !
Einfaches Schreiben (Cache-Nutzung).
-----------------------------------------------------------------------------

7490 fw 7.29 example:

fritz3:/var/mod/root $ cat /proc/avm/do_write

AVM-RAM-Benchmark
=============================================
IRQs: off (alle Tests mit deaktivierten IRQs)
CPU-Clock: 500000000
RAM-Clock: 500000000 (eff. Datentaktrate)
BUS-Breite (Word=): 16 Bit
Measure-Time: 1 * 1.0s

-- Results --
========================================================================================
 type             ! total read ! loops ! DDR-Ticks ! 16Bit     !        !  Stalls per  !
                  !    in kb   !       ! /16Bit    ! Worte/s   ! kB/s   !  Instruction !
========================================================================================
write             !  353920    ! 1     !     2.759 ! 181207040 ! 353920 !    7.959     !
                  !            !       !           !           !        !              !
Einfaches Schreiben.                                           !        !              !
----------------------------------------------------------------------------------------

7390 fw 6.04 example:

root@7390:/var/mod/root# cat /proc/avm/do_write

AVM-RAM-Benchmark
=============================================
IRQs: off (alle Tests mit deaktivierten IRQs)
CPU-Clock: 500000000
RAM-Clock: 333333332 (eff. Datentaktrate)
BUS-Breite (Word=): 32 Bit
Measure-Time: 1 * 1.0s

-- Results --
=============================================================================
 type             ! total read ! loops ! DDR-Ticks ! 32Bit   !
                  !    in kb   !       ! /32Bit    ! Worte/s ! kB/s
=============================================================================
write             !   95104    ! 1     !    13.691 ! 24346624 !  95104
                  !            !       !           !         !
Einfaches Schreiben.                                         !
-----------------------------------------------------------------------------

7240 fw 6.06 example:

root@fritz:/var/mod/root# cat /proc/avm/do_write

AVM-RAM-Benchmark
=============================================
IRQs: off (alle Tests mit deaktivierten IRQs)
CPU-Clock: 360000000
RAM-Clock: 120000000 (eff. Datentaktrate)
BUS-Breite (Word=): 16 Bit
Measure-Time: 1 * 1.0s

-- Results --
=============================================================================
 type             ! total read ! loops ! DDR-Ticks ! 16Bit   !
                  !    in kb   !       ! /16Bit    ! Worte/s ! kB/s
=============================================================================
write             !  276480    ! 1     !     0.847 ! 141557760 ! 276480
                  !            !       !           !         !
Einfaches Schreiben.                                         !
-----------------------------------------------------------------------------

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-23 05:10 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.

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!

SMW-Browser

Information is currently being retrieved from the backend.