From 61068e3ba4863cf41b2399ea3057b3bb1c4a9dcf Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Fri, 24 Jul 2015 13:09:59 +0200 Subject: Make pcilib_streaming_action_t public --- docs/README | 1 + 1 file changed, 1 insertion(+) (limited to 'docs') diff --git a/docs/README b/docs/README index 647df41..ba22acf 100644 --- a/docs/README +++ b/docs/README @@ -8,6 +8,7 @@ Supported environmental variables IPECAMERA_DEBUG_RAW_PACKETS - Store all raw packets read from DMA grouped in frames (variable may specify directory) IPECAMERA_DEBUG_RAW_FRAMES - Store all raw frames (variable may specify directory) IPECAMERA_DEBUG_HARDWARE - Produce various debugging information about ipecamera operation + IPECAMERA_DEBUG_FRAME_HEADERS - Print headers of each frame PCILIB_BENCHMARK_HARDWARE - Remove all unnecessary software processing (like copying memcpy) to check hardware performance PCILIB_BENCHMARK_STREAMING - Emulate streaming mode while benchmarking DMA engines -- cgit v1.2.3 From 6ac0cf129270aef989785e3fbc84abc238a29e92 Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Wed, 5 Aug 2015 19:13:07 +0200 Subject: Read model from environmental variable if defined --- docs/README | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'docs') diff --git a/docs/README b/docs/README index ba22acf..335ebef 100644 --- a/docs/README +++ b/docs/README @@ -1,14 +1,16 @@ Supported environmental variables ================================= - PCILIB_PLUGIN_DIR - override path to directory with plugins + PCILIB_MODEL - defines the requested model (is overriden with -m option) + PCILIB_PLUGIN_DIR - override path to directory with plugins - PCILIB_DEBUG_DMA - Enable DMA debugging + PCILIB_DEBUG_DMA - Enable DMA debugging PCILIB_DEBUG_MISSING_EVENTS - Enable debugging of missing events (frames for instance) IPECAMERA_DEBUG_BROKEN_FRAMES - Store broken frames in the specified directory (variable may specify directory) IPECAMERA_DEBUG_RAW_PACKETS - Store all raw packets read from DMA grouped in frames (variable may specify directory) IPECAMERA_DEBUG_RAW_FRAMES - Store all raw frames (variable may specify directory) IPECAMERA_DEBUG_HARDWARE - Produce various debugging information about ipecamera operation IPECAMERA_DEBUG_FRAME_HEADERS - Print headers of each frame + IPECAMERA_DEBUG_API - Print messages while entering and finishing standard API calls PCILIB_BENCHMARK_HARDWARE - Remove all unnecessary software processing (like copying memcpy) to check hardware performance PCILIB_BENCHMARK_STREAMING - Emulate streaming mode while benchmarking DMA engines -- cgit v1.2.3 From 38fdfd8b69ba5ae747915bbdbb3066d29611437d Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Thu, 6 Aug 2015 18:03:59 +0200 Subject: Disable STREAMING_CHECKS for better performance --- docs/ToDo | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) (limited to 'docs') diff --git a/docs/ToDo b/docs/ToDo index 4c2c783..f9f14e6 100644 --- a/docs/ToDo +++ b/docs/ToDo @@ -1,23 +1,19 @@ High Priority (we would need it for IPE Camera) ============= - 1. Serialize access to the registers across applications - 2. Protect kmem_entries in the driver using spinlock - 3. Protect mmap operation (multiple kernel calls) with some locking mechanism - 4. Allow overriding of registers and banks (performance?). + 1. Allow overriding of registers and banks (performance?). Normal Priority (it would make just few things a bit easier) =============== - 1. Implement software registers (stored in kernel-memory) - 2. Implement pcilib_configure_autotrigger - 3. Provide OR and AND operations on registers in cli - 4. Support writting a data from a binary file in cli + 1. Implement pcilib_configure_autotrigger + 2. Provide OR and AND operations on registers in cli + 3. Support writting a data from a binary file in cli Low Priority (only as generalization for other projects) ============ 1. XML configurations describing registers (and DMA engines?) - 2. Access register/bank lookups using hash tables + 2. Access register/bank/lock lookups using hash tables 3. Support for Network Registers and Network DMA 4. Define a syntax for register dependencies / delays (?) 5. Use pthread_condition_t instead of polling 6. Support FIFO reads/writes from/to registers - + 7. We managed kmem performance using next kmem prediction, but it is still wise to provide additionally a binary tree for faster search -- cgit v1.2.3 From 6bad94bb8546a3a5595d340e7a2d809635e3bd5d Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Fri, 21 Aug 2015 05:19:56 +0200 Subject: Keep frame pointers --- docs/ToDo | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'docs') diff --git a/docs/ToDo b/docs/ToDo index f9f14e6..ea3c18e 100644 --- a/docs/ToDo +++ b/docs/ToDo @@ -17,3 +17,8 @@ Low Priority (only as generalization for other projects) 5. Use pthread_condition_t instead of polling 6. Support FIFO reads/writes from/to registers 7. We managed kmem performance using next kmem prediction, but it is still wise to provide additionally a binary tree for faster search + +Performance +=========== + 1. Even with fully algined data, glibc defaults to __memcpy_sse2_unaligned (called from ipecamera_data_callback and fastwriter_push). Can we do something? + \ No newline at end of file -- cgit v1.2.3