Description - phoronix/encode-flac

This test times how long it takes to encode a sample WAV file to FLAC format five times.

The test is single-threaded and all testing was done pinned to core 1.

Metrics (Intel) - phoronix/encode-flac
sh - pid 8034
	On_CPU   0.112
	On_Core  0.897
	IPC      2.432
	Retire   0.638	(63.8%)
	FrontEnd 0.051	(5.1%)
	Spec     0.037	(3.7%)
	Backend  0.273	(27.3%)
	Elapsed  11.06
	Procs    7
	Maxrss   10K
	Minflt   1296
	Majflt   0
	Inblock  0
	Oublock  563328
	Msgsnd   0
	Msgrcv   0
	Nsignals 0
	Nvcsw    159	(5.9%)
	Nivcsw   2530
	Utime    9.638954
	Stime    0.276433
	Start    233991.51
	Finish   234002.57

Five separate processes are run as well as I/O, resulting in an On_Core of ~90%. Otherwise the IPC for this program is high with the primary limiter as backend stalls.

Metrics (AMD) - phoronix/encode-flac
sh - pid 12465
	On_CPU   0.057
	On_Core  0.910
	IPC      2.494
	FrontCyc 0.045	(4.5%)
	BackCyc  0.131	(13.1%)
	Elapsed  11.10
	Procs    7
	Maxrss   10K
	Minflt   1305
	Majflt   0
	Inblock  0
	Oublock  563328
	Msgsnd   0
	Msgrcv   0
	Nsignals 0
	Nvcsw    155	(4.3%)
	Nivcsw   3446
	Utime    9.765776
	Stime    0.339269
	Start    244092.10
	Finish   244103.20

IPC for AMD is just slightly higher than Intel.

Process Tree - phoronix/encode-flac
Process Tree
    8034) sh elapsed=11.06 start=2.67 finish=13.73
      8035) encode-flac elapsed=11.06 start=2.67 finish=13.73
        8036) flac elapsed=1.97 start=2.67 finish=4.64
        8037) flac elapsed=2.23 start=4.64 finish=6.87
        8038) flac elapsed=2.30 start=6.87 finish=9.17
        8039) flac elapsed=2.28 start=9.17 finish=11.45
        8042) flac elapsed=2.28 start=11.45 finish=13.73

The process tree is five short processes run one after another.


Scheduled on core is ~90% with gaps between processes and some system time for I/O.


IPC is both constant and relatively high.


Primary limiter is backend stalls.

Next steps: Dig next level on the backend stalls.