Error running vioperf error creating aligned memory:Invalid argument
search cancel

Error running vioperf error creating aligned memory:Invalid argument

book

Article ID: 375677

calendar_today

Updated On:

Products

DX NetOps CA Performance Management - Usage and Administration

Issue/Introduction

When running vioperf on the data repository:

[dradmin@drsystem data]$ /opt/vertica/bin/vioperf --duration=60s

It fails with the following error:

error running /opt/vertica/bin/vioperf: error creating aligned memory:Invalid argument

Cause

Vioperf using cache

Resolution

Use the --disable-direct-io option to bypass the usage of the cache:

/opt/vertica/bin/vioperf /database/data --disable-direct-io

 

https://docs.vertica.com/24.3.x/en/vertica_doc.pdf 

--disable-direct-io
When reading from or writing to a local file system, vioperf goes directly to disk by default, bypassing the operating system's page cache. Using
direct I/O allows vioperf to measure performance quickly without having to fill the cache.
Disabling this behavior can produce more realistic performance results but slows down the operation of vioperf .