summary refs log tree commit diff stats
path: root/results/classifier/118/performance/1768
diff options
context:
space:
mode:
authorChristian Krinitsin <mail@krinitsin.com>2025-06-16 16:59:00 +0000
committerChristian Krinitsin <mail@krinitsin.com>2025-06-16 16:59:33 +0000
commit9aba81d8eb048db908c94a3c40c25a5fde0caee6 (patch)
treeb765e7fb5e9a3c2143c68b0414e0055adb70e785 /results/classifier/118/performance/1768
parentb89a938452613061c0f1f23e710281cf5c83cb29 (diff)
downloadqemu-analysis-9aba81d8eb048db908c94a3c40c25a5fde0caee6.tar.gz
qemu-analysis-9aba81d8eb048db908c94a3c40c25a5fde0caee6.zip
add 18th iteration of classifier
Diffstat (limited to 'results/classifier/118/performance/1768')
-rw-r--r--results/classifier/118/performance/176862
1 files changed, 62 insertions, 0 deletions
diff --git a/results/classifier/118/performance/1768 b/results/classifier/118/performance/1768
new file mode 100644
index 000000000..9d55119af
--- /dev/null
+++ b/results/classifier/118/performance/1768
@@ -0,0 +1,62 @@
+performance: 0.967
+user-level: 0.868
+architecture: 0.858
+TCG: 0.843
+mistranslation: 0.839
+graphic: 0.794
+device: 0.756
+x86: 0.548
+assembly: 0.541
+debug: 0.538
+kernel: 0.524
+vnc: 0.511
+hypervisor: 0.483
+arm: 0.466
+risc-v: 0.462
+semantic: 0.438
+i386: 0.415
+peripherals: 0.402
+ppc: 0.392
+network: 0.338
+socket: 0.336
+PID: 0.321
+VMM: 0.314
+boot: 0.307
+files: 0.288
+virtual: 0.218
+permissions: 0.165
+register: 0.159
+KVM: 0.084
+
+Could not allocate more than ~2GB with qemu-user
+Description of problem:
+On qemu-user, failed to allocate more than about 2GB on 32bit platform supporting up to 4GB (arm, ppc, etc.)
+Steps to reproduce:
+1. Try to allocate more than 2GB [e.g. for(i=0;i<64;i++) if(malloc(64*1024*1024)==NULL) perror("Failed to allocate 64MB");]
+2. Only 1 64MB chunck is allocated in the upper 2GB memory space
+3. Failed to allocate after about 2GB.
+Additional information:
+The problem is in **pageflags_find** and **pageflags_next** functions (found in _accel/tcg/user-exec.c_) 3rd parameters, that should be **target_ulong** instead of incorrect _target_long_ (the parameter will be converted signed extended to uint64_t).
+The testing program is the following:
+```
+#include <stdio.h>
+#include <stdlib.h>
+
+int main(int argc,char *argv[]) {
+  unsigned int a;
+  unsigned int i;
+  char *al;
+  unsigned int sss=1U*1024*1024*64;
+  for(a=0;a<128;a++) {
+    al=malloc(sss);
+    if(al!=NULL) {
+      printf("ALLOC OK %u (%08lX)!\n",sss*(a+1),al);
+    }
+    else {
+      printf("Cannot alloc %d\n",(a+1)*sss);
+      perror("Cannot alloc");
+      exit(1);
+    }
+  }
+}
+```