Questions tagged [nmi]

For more information, visit NMI website

16 questions
6
votes
4 answers

How do I disable non maskable interrupts programmatically?

I've read that in order to temporarily turn off paging according to Intel's system programming guide (volume 3 chapter 9.9) I should disable interrupts before doing anything else. I can easily disable maskable interrupts with cli but all the manual…
5
votes
0 answers

Vagrant Virtualbox VMs getting "kernel:NMI watchdog: BUG: soft lockup - CPU#1 stuck for 23s"

I am running CentOS VMs in Virtualbox using Vagrant on a Windows PC. I've done this for 2 years without issue (initially CentOS 6 then CentOS 7), but in the last few months, I notice my VMs to start locking up frequently. And outputs these types of…
Dave
  • 244
  • 2
  • 16
3
votes
1 answer

how to simulate a iret on linux x86_64

I am writing a debugger based on Intel VT. As the iret instruction's performance in vmx-guest is changed while NMI-Exiting=1. So I should handle NMI in the vmx-host myself,otherwise,guest will have nmi reentrant bugs. I checked the Intel manual…
hellolwq
  • 531
  • 3
  • 7
  • 18
2
votes
0 answers

Normalized mutual information(NMI) in Python?

I get the concept of NMI, I just don't understand how it is implemented in Python. How i can using algorithms with networks. For example: Network | Karate club |football -------------------------------------- Louvain | 0.7685 |…
Faiza Omer
  • 25
  • 5
1
vote
1 answer

Why __nmi_enter() defined __preempt_count_add(NMI_OFFSET + HARDIRQ_OFFSET);

https://elixir.bootlin.com/linux/latest/source/include/linux/hardirq.h#L120 #define __nmi_enter() \ do { \ lockdep_off(); \ arch_nmi_enter(); \ …
GreenTea
  • 769
  • 1
  • 10
  • 36
1
vote
0 answers

Issue with aad-pod-identity and nmi on same cluster

i have a cluster where i have aad-pod-identity installed like the instructions found here: https://azure.github.io/aad-pod-identity/docs/getting-started/installation/#helm That seemed to work fine for the most part, but because of other issues i…
Phil
  • 1,852
  • 2
  • 28
  • 55
1
vote
1 answer

how extract membership vector for my GNgraph in r?

i want to use NMI to compare my algorithm in community detection with other methods.so i am making some graphs with sample_sbm() which i define to give me 10 nodes ,and in block.sizes=c(3,3,4) part i define to have communities,first one has…
Soma
  • 329
  • 1
  • 8
0
votes
0 answers

NMI : How to test NMI events on development environment?

I have to test NMI events like - Do not honor, Insufficient funds etc. Is there any way to test this event? I have tried with setup negative value in DB
Manish Lomte
  • 329
  • 4
  • 17
0
votes
2 answers

How to wait for an NMI interrupt without polling?

To wait for an NMI interrupt, currently I do: while true; do RES=$(cat /proc/interrupts | grep NMI) RES=$(echo "$RES" | sed 's/[^0-9]*//g') RES=$(echo "$RES" | sed 's/^0*//') if [ "$RES" != "" ]; then echo "DONE" exit 0 fi …
Maestro
  • 9,046
  • 15
  • 83
  • 116
0
votes
0 answers

How to disable TLS for one of the inputs in Telegraf config?

We are currently having a GNMI Input collector. When connecting via Telegraf the input collector throws TLS handshake error. transport: authentication handshake failed: tls: first record does not look like a TLS handshake Since this is development…
RSSAH
  • 123
  • 14
0
votes
0 answers

What happend if preempt_enable() inside an nmi?

https://gitlab.com/redhat/centos-stream/src/kernel/centos-stream-8/-/blob/ccf40dfacd314ab0fea16cfc6f4eded1a08e2710/arch/x86/kernel/cpu/mce/core.c#L1331 preempt_enable() before nmi_exit(), will this cause any problem? if ((m.cs & 3) == 3) { …
GreenTea
  • 769
  • 1
  • 10
  • 36
0
votes
0 answers

Rest request delayed arrival on destination server (NMI payment gateway)

Context I have a spring boot application that fires a request to a third party's API called NMI (payment provided gateway). The request is fired using RestTemplate.exchange //Constructing necessary parameters HttpEntity
0
votes
1 answer

Why the NMI value is small while having higher clustering accuracy and Rand index in clustering

I am using the https://www.mathworks.com/matlabcentral/fileexchange/32197-clustering-results-measurement for evaluating my clustering accuracy in MATLAB, it provides accuracy and rand_index, the performance is normal as expect. However, when I try…
Terence
  • 53
  • 1
  • 6
0
votes
1 answer

arithmetic and geometric normalized mutual information

what is the difference between arithmetic and geometric normalized mutual information, i have : In [4]: real Out[4]: array([0., 0., 0., 0., 0., 0., 0., 0., 1., 1., 0., 0., 0., 0., 1., 1., 0., 0., 1., 0., 1., 0., 1., 1., 1., 1., 1., 1.,…
user9731699
0
votes
1 answer

nmi kernel calls in a tight loop

I have a test program void task() { long sum=0; while(true) { for(int i=0; i<100000;++i) for(int j=0; j < 10000; ++j) sum += j } } int main() { boost::thread t(task); t.join(); return true; } and I use…
surfcode
  • 445
  • 1
  • 5
  • 20
1
2