MIDIbox Forum: MIDI Benchmark - MIDIbox Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

MIDI Benchmark Rate Topic: -----

#1 User is offline   TK. 

  • MIDIbox Guru
  • View gallery
  • Group: Administrators
  • Posts: 11,141
  • Joined: 01-January 01
  • LocationGermany

Posted 20 February 2004 - 03:09

determine the truth about your MIDI interface:

;
; MIDI Performance Measuring Application
;
; This is some kind of benchmark which helps to evaluate the performance
; of your MIDI interface (and computer)
;
; To get the test running you have to create a MIDI feedback loop.
;
; Examples:
;    Direct Feedback:   CORE1 OUT -> CORE1 IN
;    Merger Feedback:   CORE1 OUT -> CORE2 IN -> CORE2 OUT -> CORE1 IN
;    Computer Feedback: CORE1 OUT -> PC MIDI IN -> MIDI-Ox -> PC MIDI OUT -> CORE1 IN
;
; A MIDI controller event will be sent and should be received "immediately"
; is measured with timer3, prescaler 1:8 - this means, that the counter 
; result has to be multiplied by 8 and 100 nS (@40 MHz) to get the
; absolute delay
;
; Note that the delay is always greater than 960 uS, since this is the
; initial transfer time of a controller event
;
; The current, minimal and maximum result will be print on LCD
; To determine the jitter, calculate: (max-min) / 2
;
; IMPORTANT: remove the feedback loop before uploading a new application,
; otherwise MIOS will wait endless before rebooting the core!!!
;
; And here the results:
; 
;    o direct feedback:
;      Min: 1218, Max:  1262  ->  0.97 mS /  1.01 mS  ->  +/- 0.02 mS Jitter
; 
;    o merger feedback (2 cores):
;      Min: 1664, Max:  1735  ->  1.33 mS /  1.38 mS  ->  +/- 0.03 mS Jitter
; 
;    o RME Hammerfall DSP/Multiface, WinXP, Feedback via MIDI-Ox
;      Min: 2497, Max:  2599  ->  2.00 mS /  2.07 mS  ->  +/- 0.04 mS Jitter
;
;    o RME Hammerfall DSP/Multiface, WinXP, Feedback via Logic Audio
;      Min: 2565, Max:  3820  ->  2.05 mS /  3.05 mS  ->  +/- 0.50 mS Jitter
;
;    o MBHP_USB (WinXP Legacy Driver), Feedback via MIDI-Ox
;      Min: 3320, Max:  4555  ->  2.66 mS /  3.64 mS  ->  +/- 0.50 mS Jitter
;
;    o MBHP_USB (WinXP Legacy Driver), Feedback via Logic Audio
;      Min: 3510, Max:  6291  ->  2.81 mS /  5.03 mS  ->  +/- 1.11 mS Jitter
;
;    o MIDIsport 2x2, WinXP, Feedback via MIDI-Ox
;      Min: 6219, Max:  9960  ->  4.98 mS /  7.97 mS  ->  +/- 1.5 mS Jitter
;
;    o MIDIsport 2x2, WinXP, Feedback via Logic Audio
;      Min: 7608, Max: 13446  ->  6.08 mS / 10.76 mS  ->  +/- 2.3 mS Jitter


Add your results here! :)

Best Regards, Thorsten.


#2 User is offline   adamjking 

  • MIDIbox Addict
  • PipPip
  • Group: Programmer
  • Posts: 184
  • Joined: 17-December 03
  • LocationMelbourne, Australia

Posted 21 February 2004 - 11:04

My Results:

Direct Feedback (Note: I had to make the direct feedback loop after MIOS had booted, or else it wouldn't boot - is this normal?)
Min: 1218, Max:  1257  ->  0.97 mS /  1.00 mS  ->  +/- 0.015 mS Jitter

SBLive 5.1 Platinum (via Joystick Port adaptor), Win98, Feedback via MIDI-Ox
Min: 2567, Max:  2725  ->  2.05 mS /  2.2 mS  ->  +/- 0.075 mS Jitter

SBLive 5.1 Platinum (via LiveDrive MIDI ports), Win98, Feedback via MIDI-Ox
Min: 3058, Max:  3188  ->  2.46 mS /  2.55 mS  ->  +/- 0.045 mS Jitter

SBLive 5.1 Platinum (via Joystick Port adaptor), RedHat Linux 8.0 (ALSA 0.9.6
drivers, 2.4.22 kernel w/low latency patches), Feedback via qjackctl
Min: 2090, Max:  2533  ->  1.67 mS /  2.02 mS  ->  +/- 0.175 mS Jitter

#3 User is offline   TK. 

  • MIDIbox Guru
  • View gallery
  • Group: Administrators
  • Posts: 11,141
  • Joined: 01-January 01
  • LocationGermany

Posted 21 February 2004 - 18:22

Thanks for the values! :)

Quote

(Note: I had to make the direct feedback loop after MIOS had booted, or else it wouldn't boot - is this normal?)


yes - see following note:
; IMPORTANT: remove the feedback loop before uploading a new application, 
; otherwise MIOS will wait endless before rebooting the core!!! 


Best Regards, Thorsten.


#4 User is offline   chriss 

  • MIDIbox Addict
  • PipPip
  • Group: Members
  • Posts: 119
  • Joined: 28-January 03

Posted 24 February 2004 - 03:29

These are my results.
The Win machine is a AMD PII/K6, 400Mhz, 64MB, USB1.1
The Mac is a Ibook G4, 933Mhz, 640MB, USB2.0


MBHP_USB, WinXP, Feedback via MIDI-Ox  
Min: 4193, Max:  6278  ->  3.35 mS /  5.02 mS  ->  +/- 0.84 mS Jitter  
 
MBHP_USB, WinXP, Feedback via Logic 5.3
Min: 4677, Max:  8072  ->  3.74 mS /  6.46 mS  ->  +/- 1.36 mS Jitter  
 
MBHP_USB, Mac OSX, Feedback via Logic Hit Kit 
Min: 3669, Max:  5152  ->  2.93 mS /  4.12 mS  ->  +/- 0.59 mS Jitter

Chriss

#5 Guest_domas_*

  • Group: Guests

Posted 05 August 2004 - 20:50

Hi,

Today I finally got my core well working and tested my MIDI interface which connects to a gameport of a sound card. It is based on scheme from here: http://www.borg.com/...re/pc_intfc.htm. If anybody wants PCB I can put a *.brd somewhere. Results:

Integrated ALC650/nForce 2 codec:
          Min       Max      
uS      2537      3164      Jitter
mS      2,03      2,53      0,25

Creative SoundBlaster Live (KX drivers):
          Min       Max      
uS      2606      3147      Jitter
mS      2,08      2,52      0,22

Both results got with MIDI-OX.

#6 User is offline   lylehaze 

  • MIDIbox Guru
  • PipPipPipPip
  • Group: Programmer
  • Posts: 599
  • Joined: 30-July 06
  • LocationVirginia, United States

Posted 07 September 2006 - 20:21

And now for new data on an old topic..

I have loaded and run the benchmark application on my
MidiBox core. V1_9B, 18F452 @ 40Mhz

Since my interface and OS were not benchmarked previously,
I thought some might find it interesting.

I'm running an Edirol UM-880 USB midi interface, which offers
"HDMR" (Hardware Direct MIDI Routing). I always wanted to know how
fast it really was.

Running Core 1_9B, I got

1235  to  1247
0.99ms    1.0ms
Jitter .005

Pretty good stuff.

Then, patching the MIDI through the 880 to my computer,
using CAMD library and "MidiThru" at priority 0,

2464  to  4218
1.97ms    3.37ms
Jitter 0.7ms

This is running through OS4 on an AmigaOne computer.

Looks like it's at least comparable to some of the other
types of computers.

LyleHaze


#7 User is offline   Ruff-G 

  • MIDIbox Newbie
  • Pip
  • Group: Members
  • Posts: 8
  • Joined: 13-April 07

Posted 30 April 2007 - 17:31

what is the name of the application of your tests?

regards,
ruff-g

#8 User is offline   TK. 

  • MIDIbox Guru
  • View gallery
  • Group: Administrators
  • Posts: 11,141
  • Joined: 01-January 01
  • LocationGermany

Posted 02 May 2007 - 23:35

midi_benchmark.zip (-> MIOS upload page)

Best Regards, Thorsten.


#9 User is offline   Ruff-G 

  • MIDIbox Newbie
  • Pip
  • Group: Members
  • Posts: 8
  • Joined: 13-April 07

Posted 04 May 2007 - 22:54

thanks Thorsten for your help

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users