finos / kdb

kdb+ Working Group from FINOS Data Technologies program
Apache License 2.0
44 stars 23 forks source link

2021-03-01 - KDB Project Call Meeting Minutes #43

Closed alvin-c-shih closed 3 years ago

alvin-c-shih commented 3 years ago

Date

Monday, March 01, 2021 - 9:30am EST / 2:30pm BST

// First Monday of every month

Attendees

Full name Affiliation GitHub Username
Peter Gyorok Morgan Stanley @gyorokpeter
Alvin Shih Morgan Stanley @alvin-c-shih
Gary Davies AquaQ @drgdavies
Timofey Beletskiy JPMorgan
Dmitry Zakharov Deutsche Bank
Aaron Davies Morgan Stanley @adavies42
James McLeod FINOS @mcleo-d

Meeting notices

Minutes

Appendix A : Roadmap items for qStudio

Appendix B : Callling psutil using embedPy.

Code:

// Assumes embedPy has been initialized.
// https://www.selenic.com/smem/
// https://pypi.org/project/psutil/ (Unique Set Size)
// http://www.pybloggers.com/2016/02/psutil-4-0-0-and-how-to-get-real-process-memory-and-environ-in-python/
//
pim_psutil:.p.import`psutil
psutil_Process:pim_psutil[`:Process]
PFULL_ATTRS:`rss`vms`shared`text`lib`data`dirty`uss`pss`swap;

memory_full_info:{[pid]
  // Extracting attributes individually not exactly efficient.
  // But I don't trust that the tuple will come back in the
  //  same order for all future versions.
  PFULL_ATTRS!psutil_Process[pid][`:memory_full_info][]{x[y]`}/:hsym PFULL_ATTRS}

memory_percent:{[pid;memtype]
  psutil_Process[pid][`:memory_percent][`memtype pykw memtype]`}

Example output:

q)memory_full_info[.z.i]

rss   | 155291648
vms   | 3377815552
shared| 35561472
text  | 794624
lib   | 0
data  | 2589196288
dirty | 0
uss   | 120041472
pss   | 124615680
swap  | 0

q)memory_percent[.z.i;`pss]
0.01537376

WebEx info

Webex

Dial-in and Project Materials

adavies42 commented 3 years ago

hi

mcleo-d commented 3 years ago

@alvin-c-shih, @gyorokpeter, Timofey and Gary,

It would be great if you could say hello in the comments 👍

James.

alvin-c-shih commented 3 years ago

G'day!