Hi there 👋

I’m a student researcher at CAESAR lab, focusing on challenges associated with compute accelerators such as GPUs, in the areas of High Performance Computing (HPC) and AI Infrastructure.

I also explore the world of computer graphics, mostly in my free time.

If any of this aligns with your interests, feel free to drop me an email.

Timing Using RDTSC on x86_64

So, you want to time a piece of code using a high-resolution timer on the x86 architecture. Okay, great! You can now time the execution of codes that run in sub-microsecond range! In this post, I’ll go into details on how to do things properly and what to watch out for. I’ve pulled together different resources so that we can cover the intricacies and minutia involved in using this hardware timer properly. ...

SSH Connection Multiplexing

Whenever I want to do something that involves making an ssh connection to ComptueCanada servers, such as doing an rsync copy, I have to manually authenticate each connection using their proprietary 2FA method. It adds an unnecessary step to my workflow when using their servers. It’s even worse for tools like Emacs’s TRAMP-mode that assume a sane ssh connection. In the case of TRAMP, it flat out errors out when it sees the 2FA prompt. I would’ve preferred using more common 2FA methods like Timed-One-Time-Password (TOTP), which are well-known among users and are far more accessible. With TOTP, you could use apps like Google Authenticator to get two factor authentication. ...