This paper proposes Mahout, a low-overhead system for managing datacenter traffic using end-host-based detection of elephant flows. Elephant flows are those that transfer a large amount of data. Existing approaches have limitations such as high monitoring overhead, significant switch resource usage, or long detection times. Mahout detects elephant flows at the end hosts using a shim layer and signals the network controller using in-band signaling. This avoids per-flow monitoring in switches and reduces overhead compared to other approaches. The paper evaluates Mahout analytically and through experiments.