YottaDB / YDB

Mirrored from https://gitlab.com/YottaDB/DB/YDB
Other
76 stars 37 forks source link

$V("PROBECRIT","DEFAULT") CPT time resolution is low #333

Open shabiel opened 6 years ago

shabiel commented 6 years ago

A better timer should be able to give us values between 0 and 1000.

YDB>W $V("PROBECRIT","DEFAULT")
CPT:1000,CFN:0,CQN:0,CYN:0,CQF:0,CQE:1024,CAT:3648
YDB>W $V("PROBECRIT","DEFAULT")
CPT:0,CFN:0,CQN:0,CYN:0,CQF:0,CQE:1024,CAT:3649
ksbhaskar commented 6 years ago

What sort of environment are you running your test on?

shabiel commented 6 years ago

I think I got this on every single of version of YDB/GTM I tried:

OSEHRA>W $ZYRE YottaDB r1.10 Linux x86_64 OSEHRA>ZSY "uname -a" Linux db440c50b8e4 4.9.87-linuxkit-aufs #1 SMP Wed Mar 14 15:12:16 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux OSEHRA>W $V("PROBECRIT","DEFAULT") CPT:2000,CFN:0,CQN:0,CYN:0,CQF:0,CQE:1024,CAT:136296624 OSEHRA>W $V("PROBECRIT","DEFAULT") CPT:1000,CFN:0,CQN:0,CYN:0,CQF:0,CQE:1024,CAT:136296626 OSEHRA>W $V("PROBECRIT","DEFAULT") CPT:1000,CFN:0,CQN:0,CYN:0,CQF:0,CQE:1024,CAT:136296627 OSEHRA>W $V("PROBECRIT","DEFAULT") CPT:1000,CFN:0,CQN:0,CYN:0,CQF:0,CQE:1024,CAT:136296629 OSEHRA>W $V("PROBECRIT","DEFAULT") CPT:0,CFN:0,CQN:0,CYN:0,CQF:0,CQE:1024,CAT:136296630 OSEHRA>W $V("PROBECRIT","DEFAULT") CPT:1000,CFN:0,CQN:0,CYN:0,CQF:0,CQE:1024,CAT:136296631 OSEHRA>

On Mon, Aug 6, 2018 at 4:09 PM, K.S. Bhaskar notifications@github.com wrote:

What sort of environment are you running your test on?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/YottaDB/YottaDB/issues/333#issuecomment-410837341, or mute the thread https://github.com/notifications/unsubscribe-auth/ABEtwvhCMfVpGc2V1GqBNwd42Gooij7tks5uOKJsgaJpZM4VsdlQ .

shabiel commented 6 years ago

Thank you Charles!

chathaway-codes commented 6 years ago

I'm still working on getting this past our internal testing; that commit had a few bugs in it that I fixed... I just pushed up the latest to that branch