Search code examples
linuxoptimizationramdiskunix-socket

unix socket file on disk vs tmpfs on ubuntu


Is there a difference in speed (regardless of how infinitesimal) if you place a unix socket file on disk rather than tmpfs/ramdisk (ubuntu)?


Solution

  • Only at open time. The file never actually gains any contents; what is sent over it passes through memory only. The file system is only used to provide a system-wide name.