At the E-8 level, the Army, Marine Corps and Air Force have two positions at the same paygrade. Whether one is, for example, a senior master sergeant or a first sergeant in the Air Force depends on the person's job.
The same is true for the positions at the E-9 level. Marine Corps master gunnery sergeants and sergeants major receive the same pay but have different responsibilities. All told, E-8s and E-9s have 15 to 30 years on the job, and are commanders' senior advisers for enlisted matters.
A third E-9 element is the senior enlisted person of each service. The sergeant major of the Army, the sergeant major of the Marine Corps, the master chief petty officer of the Navy and the chief master sergeant of the Air Force are the spokespersons of the enlisted force at the highest levels of their services.