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 read write (procfs)

From BoxMatrix


BoxMatrix >> System >> do_read_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_read_write!
do_read_write (bench) Result: MemBench Read / Write Benchmark.
do_read_write (procfs) Test: MemBench Read / Write Benchmark.

Procfs-Object

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

Details

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

This test performs an alternating mix of read and write memory accesses.

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

Excerpt from the test results (german):

Immer schoen im Wechsel 1x Lesen und 1x Schreiben.

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

/*------------------------------------------------------------------------------------------*\
 * Mixture Read/Write
 *
 * -1x 4-Byte Lesen + 1x 4-Byte Schreiben
 *      -> 2 Zugriffe pro Schleifendurchlauf
\*------------------------------------------------------------------------------------------*/

Examples

7530 fw 7.29 example:

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

cat: read error: Cannot allocate memory

6490 fw 7.29 example - ATOM side:

root@fritz2:/var/mod/root# cat /proc/avm/benchmark/do_read_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
=============================================================================
read/write        !  239616    ! 1     !     1.630 !  61341696 ! 239616
                  !            !       !           !           !
Immer schoen im Wechsel 1x Lesen und 1x Schreiben.
-----------------------------------------------------------------------------

6490 fw 7.29 example - ARM side:

root@fritz2:/var/mod/root# rpc cat /proc/avm/benchmark/do_read_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
=============================================================================
read/write        !   85824    ! 1     !    11.379 !  21970944 !  85824
                  !            !       !           !           !
Immer schoen im Wechsel 1x Lesen und 1x Schreiben.
-----------------------------------------------------------------------------

7490 fw 7.29 example:

fritz3:/var/mod/root $ cat /proc/avm/do_read_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 !
========================================================================================
read/write        !  134656    ! 1     !     7.252 !  68943872 ! 134656 !   15.905     !
                  !            !       !           !           !        !              !
Immer schoen im Wechsel 1x Lesen und 1x Schreiben.             !        !              !
----------------------------------------------------------------------------------------

7390 fw 6.04 example:

root@7390:/var/mod/root# cat /proc/avm/do_read_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
=============================================================================
read/write        !  102144    ! 1     !    12.747 ! 26148864 ! 102144
                  !            !       !           !         !
Immer schoen im Wechsel 1x Lesen und 1x Schreiben.           !
-----------------------------------------------------------------------------

7240 fw 6.06 example:

root@fritz:/var/mod/root# cat /proc/avm/do_read_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
=============================================================================
read/write        !   94464    ! 1     !     2.481 ! 48365568 !  94464
                  !            !       !           !         !
Immer schoen im Wechsel 1x Lesen und 1x 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-04-24 04:29 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) label in the Model column shows which CPU is meant for models with multiple Linux instances.
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.