mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-22 10:37:35 +03:00
Add SIMD metadata in /proc on Linux
Too many times, people's performance problems have amounted to "somehow your SIMD support isn't working", and determining that at runtime is difficult to describe to people. This adds a /proc/spl/kstat/zfs/simd node, which exposes metadata about which instructions ZFS thinks it can use, on AArch64 and x86_64 Linux, to make investigating things like this much easier. Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Rich Ercolani <rincebrain@gmail.com> Closes #16530
This commit is contained in:
@@ -50,4 +50,7 @@
|
||||
#define kfpu_fini() do {} while (0)
|
||||
#endif
|
||||
|
||||
#define simd_stat_init() 0
|
||||
#define simd_stat_fini() 0
|
||||
|
||||
#endif
|
||||
|
||||
@@ -45,4 +45,8 @@
|
||||
#define kfpu_fini() ((void) 0)
|
||||
|
||||
#endif
|
||||
|
||||
void simd_stat_init(void);
|
||||
void simd_stat_fini(void);
|
||||
|
||||
#endif /* _LINUX_SIMD_H */
|
||||
|
||||
Reference in New Issue
Block a user