The similarities between Death of a Salesman and Glengarry Glenross are quite evident in the setting (the everyday life of a salesman), the problem of the story (the need to be on top and enjoy a life of economic freedom in search of the American Dream, the atmosphere (hard times, tough competition), and the sad ending in both stories.
First. Glengarry Glenross premiered in London 35 years after Death of a Salesman was first premiered. Mamet was aware of the success of Arthur Miller's Death of a Salesman and basically tried to visualize how Willy's surrounding world would turn into now that the American Dream is officially dead.
In Death of a Salesman, the American insurance salesman is seen as a character who had opportunities and he failed himself. In Glengarry, the salesmen are each other's enemies and they are every man for themselves.
Also, in Death of a Salesman, Willy's only enemy is his own inability to move on and choose the right things while in Glengarry, the character of Williamson has decidedly destroyed Levene, Ricky Roma ruined Lingk's marriage, and Aaronnow and Moss are each other's Nemesis.
Lastly, Ricky Roma is the Anti Willy Loman. Willy still held the traditional and conservative ideal that a good position in life, a good position in the football team, and a good standing with the ladies made you a prosperous provider to your family, and the embodiment of the American Dream. In contrast, Ricky is ruthless and ambitious because he just wants to be somebody- he hardly cares for being a fruitful member of society, but to be a man on top. This shows his avarice, and lack of morality. Even more so than Willy's at his lowest moments.