Search Linux Wireless

Re: [RFC PATCH] iwlwifi: Memory allocation optimization.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 2008-07-03 at 19:41 +0300, Tomas Winkler wrote:
> From: Gregory Greenman <gregory.greenman@xxxxxxxxx>
> 
> This patch optimizes memory allocation. The cmd member of
> iwl_tx_queue was allocated previously as a continuous block
> of memory. This patch allocates separate memory chunks for each command
> and maps/unmaps these chunks in the run time.

You still allocate a lot of unused memory. Why don't you, at least
temporarily until you've figured out how to do gather-IO [1], reduce the
maximum number of DMA fragments to 2 so you need 1/10th the memory? You
can always bump it back up after you do the necessary mac80211 changes.

johannes

[1] and I still maintain that you will not be able to, but that's
irrelevant.

Attachment: signature.asc
Description: This is a digitally signed message part


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux