ixy icon indicating copy to clipboard operation
ixy copied to clipboard

Check vfio DMA allocation size before allocating

Open bonkf opened this issue 5 years ago • 15 comments

The size parameter to memory_allocate_dma() that gets passed to mmap() could be less than MIN_DMA_MEMORY, yet vfio_map_dma() always maps at least MIN_DMA_MEMORY. This is currently not an issue because MIN_DMA_MEMORY is the size of a standard 4KiB page, but it might be larger in future.

bonkf avatar Apr 27 '20 21:04 bonkf

@ixy-ci ping

emmericp avatar Apr 28 '20 10:04 emmericp

@ixy-ci ping

emmericp avatar May 03 '20 21:05 emmericp

pong

ixy-ci avatar May 03 '20 21:05 ixy-ci

@ixy-ci test

emmericp avatar May 03 '20 21:05 emmericp

Test failed!

Cause: An OpenStack error occurred: Requested operation has failed: Server 948f6c12-c333-4f69-b6be-3fe2c28c993e got into ERROR state

ixy-ci avatar May 03 '20 21:05 ixy-ci

@ixy-ci test

emmericp avatar May 03 '20 21:05 emmericp

Test failed!

Cause: An OpenStack error occurred: Requested operation has failed: Server 36130943-f194-49b5-a3da-a5c41dc5dceb got into ERROR state

ixy-ci avatar May 03 '20 21:05 ixy-ci

looks like the cloud is full :(

"No valid host was found. There are not enough hosts available."

emmericp avatar May 03 '20 21:05 emmericp

@ixy-ci test

emmericp avatar May 07 '20 15:05 emmericp

Test failed!

Cause: An OpenStack error occurred: Access to the resource is denied: Quota exceeded for instances: Requested 1, but already used 4 of 4 instances

ixy-ci avatar May 07 '20 15:05 ixy-ci

@ixy-ci test

emmericp avatar May 07 '20 15:05 emmericp

Test failed!

Cause: An OpenStack error occurred: Requested operation has failed: Server b7385af8-f965-4a23-8bca-f382fd76bff1 got into ERROR state

ixy-ci avatar May 07 '20 15:05 ixy-ci

cloud is still full, retried because I got this email earlier today:

In the past few weeks, we have been faced multiple times with the situation that users were no longer able to start new VMs because of the lack of free CPUs: the cloud was (and is!) full. To relax this situation, we have looked at the real hardware utilization and came to the conclusion that we will overbook the CPUs in order to be able to provide more CPUs for virtual machines than actually exist - the compute cloud will grow virtually. Since the real CPU load is lower than 20%, we do not expect any noticeable impact on the performance of the VMs.

the latest test managed to spawn 2 VMs but failed on the third one, awesome

emmericp avatar May 07 '20 15:05 emmericp

@ixy-ci test

ackxolotl avatar Oct 13 '20 23:10 ackxolotl

Test failed!

Cause: An OpenStack error occurred: Received invalid response: openstack cli failed: Output { status: ExitStatus(ExitStatus(256)), stdout: "", stderr: "The request you have made requires authentication. (HTTP 401) (Request-ID: req-9a711922-7ff3-4d84-9ecb-434b2861af56)\n" }

ixy-ci avatar Oct 13 '20 23:10 ixy-ci