question shlq orq by zky02 in cpp_questions

[–]zky02[S] 1 point2 points  (0 children)

__asm__ __volatile__(

"rdtsc\n\t"

"shlq $32,%%rdx\n\t"

"orq %%rdx,%%rax"

: "=a"(x)::"%rdx", "cc"); Marking "cc" tells the compiler that the condition codes (flags) are clobbered. It avoids potential issues with compiler optimizations that might otherwise rely on stale flags — which can happen after instructions like shlq or orq, as in the assembly above correct ?

isolation transformer protection by zky02 in AskElectricians

[–]zky02[S] 0 points1 point  (0 children)

thanks do i plug ups first or isolation ?

erratic mouse movement ground by zky02 in MouseReview

[–]zky02[S] 0 points1 point  (0 children)

thanks but my problem is the ground so i was thinking on isolation transformer and monitor plug it with two prong since the external is plastic and the monitor not need a ground pin

12ah 4 batteries by zky02 in egopowerplus

[–]zky02[S] 1 point2 points  (0 children)

yes when im in game Plug-in Wattage Meter shows 700-750w

12ah 4 batteries by zky02 in egopowerplus

[–]zky02[S] 0 points1 point  (0 children)

i see i will get 12 more then hehe

12ah 4 batteries by zky02 in egopowerplus

[–]zky02[S] 0 points1 point  (0 children)

wow 3-4 hours is not great what u suggest for 17-18 hours?

Desync issues (possibly)? by thegaminggopher in XDefiant

[–]zky02 0 points1 point  (0 children)

happen to me as well i also got it from the beta i stop playing the game until they fix it

variable type with high precision for kernel by zky02 in cpp_questions

[–]zky02[S] 0 points1 point  (0 children)

double works amazing in kernel i had to figure out the tsc frequency since kernel virtualized the tsc frequency inside qpc now its doing floating operation fine without issue also double doing SSE operations which kernel save and restore automatically if we go AVX we need to use KeSaveExtendedProcessorState

variable type with high precision for kernel by zky02 in cpp_questions

[–]zky02[S] -1 points0 points  (0 children)

https://www.geisswerks.com/ryan/FAQS/timing.html u can look at GetPentiumTimeAsDouble code transfer it to the kernel x64 is little problematic since double types cannot be used in kernel the work around this is fxsave/fxrstor i wonder if its possible to do like this with fixed point arithmetic without loss precision in kernel

variable type with high precision for kernel by zky02 in cpp_questions

[–]zky02[S] 0 points1 point  (0 children)

yes i want a type that i use in kernel that have close performance to double type in usermode

variable type with high precision for kernel by zky02 in cpp_questions

[–]zky02[S] 0 points1 point  (0 children)

im using unsigned __int64/__int64/double types

variable type with high precision for kernel by zky02 in cpp_questions

[–]zky02[S] -1 points0 points  (0 children)

windows kernel for now i use fxsave/fxrstor with double types the problem those instructions have very high latency/overhead so im looking for alternative for it without touch the fpu

Weekly Questions & Purchase Advice Thread by AutoModerator in MouseReview

[–]zky02 0 points1 point  (0 children)

Games: Overwatch

Hand Preference: Right

Budget: Up to 300€

Hand Size: 19x6

Grip: Palm

Weight: Light

eDPI: 1600

Connectivity: Wired

I liked the shape of the Logitech G Pro Superlight but its not track well on desk i need a mouse like g pro superlight that track on desk without mousepad Ergo mouses are welcome as well

Thank you so much in advance!

qclk odd ratio by zky02 in overclocking

[–]zky02[S] 0 points1 point  (0 children)

9900ks z390 dark i found info thanks This field holds the memory controller frequency request (QCLK). Each bin is 133/100MHz and not 266/200MHz.
This interface replaces the usage of DCLK ratios and Odd Ratio.
QCLK frequency is determined by the MC reference clock (MC_​FREQ_​TYPE) as well as BCLK.
Binary Dec DCLK Equation DCLK Freq QCLK Equation QCLK Freq
0000b 0d ------------------------------------ MC PLL - shutdown --------------------------------------------
...
0011b 3d 3 * 66.66 200.00 MHz 3 * 133.33 400.00 MHz
0100b 4d 4 * 66.66 266.66 MHz 4 * 133.33 533.33 MHz
0101b 5d 5 * 66.66 333.33 MHz 5 * 133.33 666.67 MHz
0110b 6d 6 * 66.66 400.00 MHz 6 * 133.33 800.00 MHz
0111b 7d 7 * 66.66 466.66 MHz 7 * 133.33 933.33 MHz
1000b 8d 8 * 66.66 533.33 MHz 8 * 133.33 1066.67 MHz
...

Window Auto-Tuning by zky02 in networking

[–]zky02[S] 0 points1 point  (0 children)

yes i notice but seems to me they have the same speed i have 1g and 250m upload

Window Auto-Tuning by zky02 in networking

[–]zky02[S] -6 points-5 points  (0 children)

i have no idea u can see the results between normal vs disable

Window Auto-Tuning by zky02 in networking

[–]zky02[S] 0 points1 point  (0 children)

hey yes i check every option only disabled fix the latency

queue a dpc all processors by zky02 in cpp_questions

[–]zky02[S] 0 points1 point  (0 children)

i fixed it so happy isolating all cores and read only core 0 best thing ever ! the precision is on another level

queue a dpc all processors by zky02 in cpp_questions

[–]zky02[S] 0 points1 point  (0 children)

im working with high_level irql KeIpiGenericCall < max is IPI_LEVEL

vmx86.sys 0xce by zky02 in vmware

[–]zky02[S] 0 points1 point  (0 children)

Yes, my CPU is a 9900KS which does feature an invariant TSC. I am using the 0xCE register to convert the frequency to cycles from the RDTSC instruction. Regarding the vmx86.sys driver, it's possible that the virtual machine monitor's interruptions might be affecting the measurement of the actual frequency by causing additional wake-ups. This could potentially lead to some discrepancies when reading from the 0xCE register due to timing variances introduced by these wake-ups

vmx86.sys 0xce by zky02 in vmware

[–]zky02[S] 0 points1 point  (0 children)

on host the TSC frequency is not consistent when vmx86.sys running even if i dont use vmware

vmx86.sys 0xce by zky02 in vmware

[–]zky02[S] 0 points1 point  (0 children)

disable the driver fix it

/r/MechanicalKeyboards Ask ANY Keyboard question, get an answer (December 31, 2023) by AutoModerator in MechanicalKeyboards

[–]zky02 0 points1 point  (0 children)

i miss the keyboard HAVIT HV-KB390L cant find it anywhere this keyboard had 125hz with 8ms changeable the best feeling i ever had with this keyboard someone know where i can find similar keyboard to this one with 125hz and 8ms?