Re: [PATCH] Increase usbfs bulk buffer size

From: Oliver Neukum
Date: Wed Aug 17 2011 - 13:11:51 EST


Am Mittwoch, 17. August 2011, 19:07:01 schrieb Markus Rechberger:
> Hi,
>
> this patch increases the maximum buffersize for bulk transfers, our
> devices support at least up to 46k bytes for bulk transfers.
> This patch allows us to lower the iterations between kernel and
> userspace and lower the system pressure.

You must not do this. It increases memory pressure too much
by forcing very high order allocations. If your problem is really
the number of syscalls, you must implement scatter/gather.

Regards
Ôliver
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/