mn9206986 commited on
Commit
c5a094d
·
verified ·
1 Parent(s): 652b53a

Update start.sh

Browse files
Files changed (1) hide show
  1. start.sh +1 -2
start.sh CHANGED
@@ -6,11 +6,10 @@ SEED="/opt/qemu/seed.iso"
6
 
7
  RAM="8G"
8
  CORES=4
9
- THREADS=2 # thread TCG mỗi core
10
 
11
  echo "Starting VM (Q35, 4 cores, multi-thread TCG, CPU max, cache=unsafe)..."
12
  qemu-system-x86_64 \
13
- -smp $CORES,sockets=1,cores=$CORES,threads=$THREADS \
14
  -cpu max \
15
  -m "$RAM" \
16
  -drive file="$DISK",format=raw,if=virtio,cache=unsafe,aio=threads,discard=unmap \
 
6
 
7
  RAM="8G"
8
  CORES=4
 
9
 
10
  echo "Starting VM (Q35, 4 cores, multi-thread TCG, CPU max, cache=unsafe)..."
11
  qemu-system-x86_64 \
12
+ -smp $CORES,sockets=1,cores=$CORES \
13
  -cpu max \
14
  -m "$RAM" \
15
  -drive file="$DISK",format=raw,if=virtio,cache=unsafe,aio=threads,discard=unmap \