Set highwatermark

@gnufied , how is this going to affect the behavior ?