Re: Expertise required:USB bulk-throughput and memory leak detection



On Mon, 2006-06-26 at 15:50 +0530, bhuvan.kumarmital@xxxxxxxxx wrote:



you made the same mistake here as on kernelnewbies.. you didn't post a
pointer to the source code ;)


-----Original Message-----
From: Bhuvan Kumarmital (WT01 - Semiconductors & Consumer
Electronics)
To: 'kernelnewbies@xxxxxxxxxxxx'
Subject: Expertise required:USB bulk-throughput and memory
leak detection


My team is developing a device driver for a PCMCIA based
USB device. We're currently trying to test the performance of
our driver. However we're unable to figure out a reliable methods of:
1.) detecting memory leaks caused by our driver code.
2.) Neither have we been able to find a tool which shows %
utilisation of kernel memory used by our driver.(kernel
memory monitoring)
3.) Throughput calculation of bulk data transfer is also not
precise. We still rely on measuring time on stop watch, while
Transferring data.

About the memory monitoring, there are quite a few tools
available at the application level (like free and top which
are available with the operating system itself). But none for
the kernel level.

Please suggest other feasible ways of detecting leaks and
monitoring kernel memory utilisation for kernel 2.6.15.4 on
fedora core 4.

-
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/

-
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/



Relevant Pages

  • 2.6.33 dies on modprobe
    ... The kernel starts up fine and mounts the root-filesystem, ... Freeing unused kernel memory: 408k freed ... # CPUFreq processor drivers ...
    (Linux-Kernel)
  • Re: [PATCH] intel-agp.c: Fix crash when accessing nonexistent GTT entries in i915
    ... has info that 256K is for GTT bar, so max video memory size is 256M. ... IGD DVMT/FIXED MEMORY: 32 MB ... Access kernel.org in iceweasel and the X server will crash. ... Sometimes, the kernel freezes. ...
    (Linux-Kernel)
  • Re: s2disk hang update
    ... This looks like we have run out of memory while creating a new kernel thread ... because the I/O doesn't work at this point). ... Keep 1 MB of memory free so that device drivers can allocate some pages in ...
    (Linux-Kernel)
  • kernel panic - not syncing: out of memory and no killable processes
    ... Kernel panic - not syncing: Out of memory and no killable processes... ... Re-tune the scheduler latency defaults to decrease worst-case latencies ... # Device Drivers ...
    (Linux-Kernel)
  • [UNIX] Linux Kernel do_brk() Vulnerablility (Explained)
    ... Get your security news from a reliable source. ... A critical security bug has been found in the Linux kernel 2.4.22 (and ... earlier) memory management subsystem. ... for the code working at the lowest privilege level. ...
    (Securiteam)