Skip to content

Latest commit

 

History

17 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NumpyPerf

Get RAM and cache specs:

sudo lshw -c memory

Theoretical RAM bandwidth

mem_freq_hz = 2666*1e6
num_channels = 2
bus_width_bits = 64
theoretical_mem_bandwidth = mem_freq_hz * bus_width_bits//8 * num_channels 
print(f'{theoretical_mem_bandwidth * 1e-9} GiB/s')

Enable 1G hugepages ?

Check that processor supports 1G pagefiles

sudo lshw -c processor|grep pdp

You should see pdpe1gb

edit /etc/default/grub

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash default_hugepagesz=2MB hugepagesz=1G hugepages=2 hugepagesz=2M hugepages=20"

run update-grub and reboot

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages