DPDK has two hugepage sizes:2MB hugepages and 1GB hugepages. I run the command below to use the 1GB hugepages: However, when I run the command cat /proc/meminfo: It still seems to use the 2MB hugepages. What should I do to use the 1GB hugepages? Answer The Hugepagesize field of /proc/meminfo is the default hu…
Tag: intel
Ethtool Structs elements and what are they. What settings and info defined on them
I am reading driver code from Intel E1000E AND Realtek r1869 driver. I hvae the devices for both, Currently I am studying ethtool_ops. I know Ethtool can be a tool for Long story short, ethtool is a means to display and adjust generic NIC/driver parameters (identification, the number of receive and transmit q…
Reason for collapse of memory bandwidth when 2KB of data is cached in L1-cache
In a self-educational project I measure the bandwidth of the memory with help of the following code (here paraphrased, the whole code follows at the end of the question): BLOCK_SIZE is choosen in such a way, that a whole 64byte cache line is fetched per single integer-addition. My machine (an Intel-Broadwell)…
Why is an AMD Ryzen 2700x 2x slower than a 3-year-old laptop Intel i7-6820HQ with Python?
I just finished installing a desktop computer based on an AMD Ryzen 2700x and 32GB RAM (running Ubuntu 18.04). At work, I have a 3-year-old laptop workstation with an Intel i7-6820HQ and 16GB RAM (running Windows 10). I installed Anaconda on both platforms and ran a custom Python code which relies heavily on …
intel SPDK ioat example fail to run
I am new in the intel SPDK and meet some problem when I run the example code. I setup the BIOS as this page said. Intel® Hyper-Threading Technology off Intel SpeedStep® technology enabled Intel® Turbo Boost Technology disabled then I git clone from this page and run all the command. The test command ./test/un…
libva version error on yocto build
I was trying to build a Yocto Image for intel processor. I downloaded the latest source code of poky and then clone the meta-intel branch and added it to bblayers.conf file. I started build with the following command And got the following error: I have the following recipe in this folder meta/recipes-graphics…
Android Emulator does not start at hardware acceleration, linux/ubuntu
i recently reninstalled ubuntu, now i have 17.04 version and android emulator with hardware graphic performance doesnt start. after starting there is a loading with “starting avd…” but nothing happens. when i switch graphic performance to software emulator run succesfully but is really slow.…
With hypervisor, How to surveillance the time when target process is created or terminated
I would like to make my hypervisor on linux for detecting and surveillance target process like a malware. To achieve this, the hypervisor need to detect processes that is created or terminated or task switched. On intel CPU, I knew that cr3 register indicate those roles. for example, when cr3 register value i…
No network interfaces on Debian 8 Lenovo install [closed]
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack …
Which perf events can use PEBS?
I want to understand which events can have the precise modifier on my CPU (Sandy Bridge). Intel Software Developer’s Manual (Table 18-32. PEBS Performance Events for Intel Microarchitecture Code Name Sandy Bridge) contains only the following events: INST_RETIRED, UOPS_RETIRED, BR_INST_RETIRED, BR_MISP_R…