@patient0, yes, I think I have it enabled. I was just looking for some way to confirm that it is 1) there and accessible at all and 2) OpnSense is using it.
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts MenuQuote from: zz00mm on March 10, 2023, 04:26:28 PMI tested the QAT speed of my ATOM C3758 which has onboard QAT, using the openssl speed command from this article.@zz00mm , do you happen to know the prerequisite steps you need to install to get the test to run? I just did an OpnSense install and when I log in as root and go to the shell I get library errors when running the test.
https://stackoverflow.com/questions/64862544/how-to-check-compare-openssl-speed
root@OPNsense:~ # lspci | grep -i "QuickAssist"
lspci: Command not found.
root@OPNsense:~ # openssl speed -engine qat rsa2048
Invalid engine "qat"
00208112871B0000:error:12800067:DSO support routines:dlfcn_load:could not load the shared library:/usr/src/crypto/openssl/crypto/dso/dso_dlfcn.c:118:filename(/usr/lib/engines-3/qat.so): Cannot open "/usr/lib/engines-3/qat.so"
00208112871B0000:error:12800067:DSO support routines:DSO_load:could not load the shared library:/usr/src/crypto/openssl/crypto/dso/dso_lib.c:152:
00208112871B0000:error:13000084:engine routines:dynamic_load:dso not found:/usr/src/crypto/openssl/crypto/engine/eng_dyn.c:442:
00208112871B0000:error:13000074:engine routines:ENGINE_by_id:no such engine:/usr/src/crypto/openssl/crypto/engine/eng_list.c:433:id=qat
00208112871B0000:error:12800067:DSO support routines:dlfcn_load:could not load the shared library:/usr/src/crypto/openssl/crypto/dso/dso_dlfcn.c:118:filename(libqat.so): Shared object "libqat.so" not found, required by "openssl"
00208112871B0000:error:12800067:DSO support routines:DSO_load:could not load the shared library:/usr/src/crypto/openssl/crypto/dso/dso_lib.c:152:
00208112871B0000:error:13000084:engine routines:dynamic_load:dso not found:/usr/src/crypto/openssl/crypto/engine/eng_dyn.c:442:
Doing 2048 bits private rsa's for 10s: 3547 2048 bits private RSA's in 10.05s
Doing 2048 bits public rsa's for 10s: 122119 2048 bits public RSA's in 10.00s
version: 3.0.15
root@OPNsense:~ # cpuid -1 | egrep 'VAES|VPCLM|GFNI|AVX512F|AVX512IFMA'
cpuid: Command not found.
root@OPNsense:~ # vmstat -i | grep qat
root@OPNsense:~ # sysctl -a | grep qat
qat0: <Intel c3xxx QuickAssist> mem 0xdfb40000-0xdfb7ffff,0xdfb00000-0xdfb3ffff irq 16 at device 0.0 on pci1
qat0: qat_dev0 started 6 acceleration engines
qat0: FW version: 4.18.0
qat0: Excessive clock measure delay
qat_ocf0: <QAT engine>
irq140: qat0:b0:291 @cpu0(domain0): 0
irq141: qat0:b1:293 @cpu0(domain0): 0
irq142: qat0:b2:295 @cpu0(domain0): 0
irq143: qat0:b3:297 @cpu0(domain0): 0
irq144: qat0:b4:299 @cpu0(domain0): 0
irq145: qat0:b5:301 @cpu0(domain0): 0
irq146: qat0:b6:303 @cpu0(domain0): 0
irq147: qat0:b7:305 @cpu0(domain0): 0
irq148: qat0:b8:307 @cpu0(domain0): 0
irq149: qat0:b9:309 @cpu0(domain0): 0
irq150: qat0:b10:311 @cpu0(domain0): 0
irq151: qat0:b11:313 @cpu0(domain0): 0
irq152: qat0:b12:315 @cpu0(domain0): 0
irq153: qat0:b13:317 @cpu0(domain0): 0
irq154: qat0:b14:319 @cpu0(domain0): 0
irq155: qat0:b15:321 @cpu0(domain0): 0
irq156: qat0:ae:323 @cpu0(domain0): 0
dev.qat_ocf.0.enable: 1
dev.qat_ocf.0.%iommu:
dev.qat_ocf.0.%parent: nexus0
dev.qat_ocf.0.%pnpinfo:
dev.qat_ocf.0.%location:
dev.qat_ocf.0.%driver: qat_ocf
dev.qat_ocf.0.%desc: QAT engine
dev.qat_ocf.%parent:
dev.qat.0.frequency: 685000000
dev.qat.0.cnv_error:
dev.qat.0.fw_counters:
dev.qat.0.mmp_version: 6.0.0
dev.qat.0.hw_version: 17
dev.qat.0.fw_version: 4.18.0
dev.qat.0.heartbeat: 1
dev.qat.0.heartbeat_failed: 0
dev.qat.0.heartbeat_sent: 1
dev.qat.0.dev_cfg: [GENERAL]
dev.qat.0.num_user_processes: 0
dev.qat.0.cfg_mode: ks
dev.qat.0.cfg_services: sym;dc
dev.qat.0.state: up
dev.qat.0.%iommu: rid=0x100
dev.qat.0.%parent: pci1
dev.qat.0.%pnpinfo: vendor=0x8086 device=0x19e2 subvendor=0x8086 subdevice=0x0000 class=0x0b4000
dev.qat.0.%location: slot=0 function=0 dbsf=pci0:1:0:0
dev.qat.0.%driver: qat
dev.qat.0.%desc: Intel c3xxx QuickAssist
dev.qat.%parent:
root@OPNsense:~ # sudo pkg install cpuid
Updating OPNsense repository catalogue...
OPNsense repository is up to date.
All repositories are up to date.
pkg: No packages available to install matching 'cpuid' have been found in the repositories
Quote from: Tubs on February 19, 2025, 09:56:45 PMI think I over-purchased. Two scenarios... Bare Metak and PRoxMox.Quote from: HeneryH on February 19, 2025, 05:43:57 PM@jde1000 , I got the Qotom Denverton Q20300G9-S10 Atom C3808 to run my OpnSense and some firewall apps like Traefik and Authentik.
Let us know how it performs.
Especially I would be interested in the difference between C3808 and C3758R/C3758 when running OPNsense on bare metal.
I am interested in the Qotom Q20331G9-S10 or Q20331G9-1U with C3758R. But so far I cannot find an OK offer in Europe. The Amazon and Aliexpress vendors currently are not shipping to Europe, or at least to my country.
Quote from: Patrick M. Hausen on February 19, 2025, 05:22:10 PMYou must use the UI to add your public key to the user. Everything done directly on the command line will be overwritten by the configuration management.That did it!! Thank you Patrick!
Quote from: theogravity on May 29, 2018, 03:21:51 AMThese are not the options for setting an alias.
Step 1: Set up aliases
Too simple explanation: Aliases are friendly names to IP addresses. If you're managing a bunch of IPs to forward, it's best to give the IP address a label.
Under firewall > aliases > add a new alias
- name: A short friendly name for the IP address you're aliasing. I'll call it "media-server"
- type: Host(s)
- Aliases: Input 192.168.1.200