Overclock.net › Forums › Components › Mice › USB polling precision
New Posts  All Forums:Forum Nav:

USB polling precision - Page 23

post #221 of 823
you're limited there by arduino's default timers resolution

i've checked with an oscilloscope and jitter is <5ns

iirc usb spec specifies that polling jitter <50ns

the reason mousetester and whatever shows more jitter is because of the time it takes for the usb data to get through whatever the OS needs to do with it
main
(15 items)
 
old
(14 items)
 
 
CPUMotherboardGraphicsRAM
4770k maximus vii impact nvidia gtx 970 crucial ballistix tactical 16gb 
Hard DriveCoolingOSMonitor
crucial mx100 noctua nh-c14 windows 7 ultimate sony cpd-g520 
KeyboardPowerCaseMouse
kbp v80 matias quiet silverstone sx500-lg ncase m1 v3 logitech g100s with mcu replaced by teensy2.0 
Mouse PadAudioAudio
allsop raindrop xl chord mojo hifiman re-600 
CPUMotherboardGraphicsRAM
i7 920 evga x58 sli le galaxy gtx 460 crucial something 3x1gb 
Hard DriveCoolingOSMonitor
intel 330 180gb scythe kotetsu windows 8.1 pro sony cpd-g520 
KeyboardPowerCaseMouse
logitech k120 silverstone st75f-gs nxzt h440 evga torq x5 
Mouse PadAudio
allsop raindrop mobo 
  hide details  
Reply
main
(15 items)
 
old
(14 items)
 
 
CPUMotherboardGraphicsRAM
4770k maximus vii impact nvidia gtx 970 crucial ballistix tactical 16gb 
Hard DriveCoolingOSMonitor
crucial mx100 noctua nh-c14 windows 7 ultimate sony cpd-g520 
KeyboardPowerCaseMouse
kbp v80 matias quiet silverstone sx500-lg ncase m1 v3 logitech g100s with mcu replaced by teensy2.0 
Mouse PadAudioAudio
allsop raindrop xl chord mojo hifiman re-600 
CPUMotherboardGraphicsRAM
i7 920 evga x58 sli le galaxy gtx 460 crucial something 3x1gb 
Hard DriveCoolingOSMonitor
intel 330 180gb scythe kotetsu windows 8.1 pro sony cpd-g520 
KeyboardPowerCaseMouse
logitech k120 silverstone st75f-gs nxzt h440 evga torq x5 
Mouse PadAudio
allsop raindrop mobo 
  hide details  
Reply
post #222 of 823
Quote:
Originally Posted by qsxcv View Post

you're limited there by arduino's default timers resolution

i've checked with an oscilloscope and jitter is <5ns

iirc usb spec specifies that polling jitter <50ns

the reason mousetester and whatever shows more jitter is because of the time it takes for the usb data to get through whatever the OS needs to do with it
Yeah, I took a look at the micros(); function, and figured if I take the time understand the underlying timers well enough to mess with it, then I can just use the underlying timers instead of messing with it. I can probably get better precision by modifying prescalers, but it would also probably break a bunch of other stuff that relies on the timers.
Edited by TranquilTempest - 7/19/16 at 8:54am
1
(13 items)
 
  
CPUMotherboardGraphicsRAM
i7 930 @ 3.6 Gigabyte x58a ud3r Gigabyte GV-R6870C-1GD Mushkin Redline 
Hard DriveOptical DriveMonitorKeyboard
2x 1TB Spinpoint samsung dvd burner Samsung p2370 + Mitsubishi Diamond Pro 930SB WASD keyboards v1 semi custom w/ cherry browns 
PowerCaseMouse
Antec CP-850 Antec P183 CM Storm Spawn 
  hide details  
Reply
1
(13 items)
 
  
CPUMotherboardGraphicsRAM
i7 930 @ 3.6 Gigabyte x58a ud3r Gigabyte GV-R6870C-1GD Mushkin Redline 
Hard DriveOptical DriveMonitorKeyboard
2x 1TB Spinpoint samsung dvd burner Samsung p2370 + Mitsubishi Diamond Pro 930SB WASD keyboards v1 semi custom w/ cherry browns 
PowerCaseMouse
Antec CP-850 Antec P183 CM Storm Spawn 
  hide details  
Reply
post #223 of 823
or just skip the arduino stack completely... i know i got sick of it pretty quickly tongue.gif
the timer registers are fairly straightforward to use; just read through the relevant sections of the datasheet and ignore the parts about pwm generation and stuff.
main
(15 items)
 
old
(14 items)
 
 
CPUMotherboardGraphicsRAM
4770k maximus vii impact nvidia gtx 970 crucial ballistix tactical 16gb 
Hard DriveCoolingOSMonitor
crucial mx100 noctua nh-c14 windows 7 ultimate sony cpd-g520 
KeyboardPowerCaseMouse
kbp v80 matias quiet silverstone sx500-lg ncase m1 v3 logitech g100s with mcu replaced by teensy2.0 
Mouse PadAudioAudio
allsop raindrop xl chord mojo hifiman re-600 
CPUMotherboardGraphicsRAM
i7 920 evga x58 sli le galaxy gtx 460 crucial something 3x1gb 
Hard DriveCoolingOSMonitor
intel 330 180gb scythe kotetsu windows 8.1 pro sony cpd-g520 
KeyboardPowerCaseMouse
logitech k120 silverstone st75f-gs nxzt h440 evga torq x5 
Mouse PadAudio
allsop raindrop mobo 
  hide details  
Reply
main
(15 items)
 
old
(14 items)
 
 
CPUMotherboardGraphicsRAM
4770k maximus vii impact nvidia gtx 970 crucial ballistix tactical 16gb 
Hard DriveCoolingOSMonitor
crucial mx100 noctua nh-c14 windows 7 ultimate sony cpd-g520 
KeyboardPowerCaseMouse
kbp v80 matias quiet silverstone sx500-lg ncase m1 v3 logitech g100s with mcu replaced by teensy2.0 
Mouse PadAudioAudio
allsop raindrop xl chord mojo hifiman re-600 
CPUMotherboardGraphicsRAM
i7 920 evga x58 sli le galaxy gtx 460 crucial something 3x1gb 
Hard DriveCoolingOSMonitor
intel 330 180gb scythe kotetsu windows 8.1 pro sony cpd-g520 
KeyboardPowerCaseMouse
logitech k120 silverstone st75f-gs nxzt h440 evga torq x5 
Mouse PadAudio
allsop raindrop mobo 
  hide details  
Reply
post #224 of 823
Couple things I don't understand after reading the whole thread. First of all, in my advanced power management, "Minimum processor state" and "Maximum processor state" don't seem to exist. All the other perimeters are set to 100%, but how do I make certain that my processor is un-parked? This is after checking three times over with the find tool in regedit for "Attributes" in power management.

Second of all, with HPET-off, how do I determine how many devices/what devices should be set to MSI mode?

And lastly, should I be using a timer resolution tool or not? It does not seem to change my DPC latency, but it does seem to make a big difference in game. Problem is mine is now stuck at somewhere between 0.5 and 1.9, even if I click reset or even if I manually type 15 and click set. Anyone know why that could be?
Edited by freddycatking - 7/27/16 at 8:28am
post #225 of 823
Quote:
Originally Posted by freddycatking View Post

Couple things I don't understand after reading the whole thread. First of all, in my advanced power management, "Minimum processor state" and "Maximum processor state" don't seem to exist. All the other perimeters are set to 100%, but how do I make certain that my processor is un-parked? This is after checking three times over with the find tool in regedit for "Attributes" in power management.

Second of all, with HPET-off, how do I determine how many devices/what devices should be set to MSI mode?

And lastly, should I be using a timer resolution tool or not? It does not seem to change my DPC latency, but it does seem to make a big difference in game. Problem is mine is now stuck at somewhere between 0.5 and 1.9, even if I click reset or even if I manually type 15 and click set. Anyone know why that could be?

For the core parking you can just choose the High Performance Powerprofile. Otherwise there are a lot of tools and IIRC it was only needed for Windows 7 and older.

For MSI-Mode you should probably head over to guru3d here http://forums.guru3d.com/showthread.php?t=378044
Woop
(19 items)
 
  
CPUMotherboardGraphicsRAM
Intel i7 7700k @ 5.0GHz MSI Z270 Gaming M3 KFA² 1070 Ex G.Skill F4-3600C16-8GTZ 
Hard DriveHard DriveHard DriveOptical Drive
Samsung 840 Pro Samsung 840 Samsung 850 Evo Samsung SH-B123L/BSBP Blu-ray 
CoolingOSMonitorMonitor
Corsair H110 Windows 10 Pro BenQ XL2411Z BenQ XL2420T 
KeyboardPowerCaseMouse
Corsair Gaming K70 RGB Rapidfire Corsair AX760 Corsair Carbide Series Air 540 Nixeus Revel 
Mouse PadAudioAudio
Xtrfy XTP1-L4-NiP-LI Asus Xonar Essence STX Beyerdynamic MMX300 
  hide details  
Reply
Woop
(19 items)
 
  
CPUMotherboardGraphicsRAM
Intel i7 7700k @ 5.0GHz MSI Z270 Gaming M3 KFA² 1070 Ex G.Skill F4-3600C16-8GTZ 
Hard DriveHard DriveHard DriveOptical Drive
Samsung 840 Pro Samsung 840 Samsung 850 Evo Samsung SH-B123L/BSBP Blu-ray 
CoolingOSMonitorMonitor
Corsair H110 Windows 10 Pro BenQ XL2411Z BenQ XL2420T 
KeyboardPowerCaseMouse
Corsair Gaming K70 RGB Rapidfire Corsair AX760 Corsair Carbide Series Air 540 Nixeus Revel 
Mouse PadAudioAudio
Xtrfy XTP1-L4-NiP-LI Asus Xonar Essence STX Beyerdynamic MMX300 
  hide details  
Reply
post #226 of 823
Quote:
Originally Posted by freddycatking View Post

Couple things I don't understand after reading the whole thread. First of all, in my advanced power management, "Minimum processor state" and "Maximum processor state" don't seem to exist. All the other perimeters are set to 100%, but how do I make certain that my processor is un-parked? This is after checking three times over with the find tool in regedit for "Attributes" in power management.

Second of all, with HPET-off, how do I determine how many devices/what devices should be set to MSI mode?

And lastly, should I be using a timer resolution tool or not? It does not seem to change my DPC latency, but it does seem to make a big difference in game. Problem is mine is now stuck at somewhere between 0.5 and 1.9, even if I click reset or even if I manually type 15 and click set. Anyone know why that could be?

Regarding the timer tools. I remember r0ach saying they could cause conflicts with other apps trying to change it as well so he leaves it alone.
post #227 of 823
Quote:
Originally Posted by pstN View Post

Regarding the timer tools. I remember r0ach saying they could cause conflicts with other apps trying to change it as well so he leaves it alone.

That's interesting, I really want to get mine back to default now. But like I said it seems to be stuck at some lower clock and I'm not sure how to get it back. http://puu.sh/qglUt.png
post #228 of 823
Quote:
Originally Posted by freddycatking View Post

That's interesting, I really want to get mine back to default now. But like I said it seems to be stuck at some lower clock and I'm not sure how to get it back. http://puu.sh/qglUt.png

I personally used (I don't anymore for the above stated reasons) http://www.lucashale.com/timer-resolution/ which has a "default" button.


*EDIT* I just realised the free version is said to only support XP. I used it on W10 and it seemed to "change", at least according to it, so I don't know.
Edited by pstN - 7/27/16 at 9:40am
post #229 of 823
i wouldnt bother with the timer tool if you are using windows 10.
post #230 of 823
I have an older X58 motherboard, and in latency mon I was averaging ~150-250 delay. I followed a long list of procedures to lower this without much luck, but perhaps a reduction down to ~150. I think unparking cores helped the most, along with disabling power saving options.

What actually fixed my latency, was buying a new soundcard (got a Powercolor HDX), and disabling the sound in bios. My latency average 2-3ms now.

If anyone has struggles, try disabling on-board sound in bios. Run latency mon, and if you have low DPC, it means you need to buy an add-on soundcard.
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Mice
Overclock.net › Forums › Components › Mice › USB polling precision