mirror of
https://github.com/xcat2/xNBA.git
synced 2024-11-25 19:08:35 +00:00
[malloc] Increase heap size to 512kB
The maximum TCP throughput is fundamentally limited by the amount of available receive buffer space. Increase the heap size from 128kB to 512kB to allow the use of larger TCP windows. Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
parent
a5d16a91af
commit
6825b2e7bf
@ -91,9 +91,9 @@ size_t freemem;
|
||||
/**
|
||||
* Heap size
|
||||
*
|
||||
* Currently fixed at 128kB.
|
||||
* Currently fixed at 512kB.
|
||||
*/
|
||||
#define HEAP_SIZE ( 128 * 1024 )
|
||||
#define HEAP_SIZE ( 512 * 1024 )
|
||||
|
||||
/** The heap itself */
|
||||
static char heap[HEAP_SIZE] __attribute__ (( aligned ( __alignof__(void *) )));
|
||||
|
Loading…
Reference in New Issue
Block a user