Home > Edge > Manufacturing Edge > Guides > Dell Validated Design for Manufacturing Edge - Design Guide with 5 Independent Software Vendors > Cognex sizing and scaling guidance
As discussed in the System Design chapter, the vision system processing consists of two main components:
Each section below discusses the sizing guidelines for the two distinct phases, providing guidance on platform selection, CPU/memory benchmarks, as well as GPU considerations. Where application consolidation is an option (training + runtime), the aggregate sizing recommendations are provided.
Performance for the ViDi Deep Learning application, specifically the training and model development, have several dependencies outside of the characteristics of the hardware platform (CPU, Memory, GPU). With total training time for model development being the core measure, the design pattern, the tools chosen, and the complexity of the images being analyzed all factor into how long the model takes for training. The following are some tuning parameters that can assist in performance optimization during the training phase:
The development environment for training of the ML model must take a number of factors into consideration. Memory and storage considerations come into play when looking at the overall model development environment. An individual workspace is used for model development, and each workspace within Cognex Designer uses its own memory footprint. If the development team is working on multiple models for products simultaneously, then the platform resources need to accommodate the processing and memory requirements of doing so.
Defining a small, medium, and large configuration for a vision application is not as straight forward as for other types of applications, since some applications require extremely high inspection speed while using a high number of cameras as part of the same inspection process. Therefore, vision application integrators play a vital role in selecting the appropriate hardware configuration for the particular application at the time of development. However, if extreme cases are left out of the equation, most vision applications will successfully run on the hardware specifications in the following table.
Platform | Small/Medium | Large |
PowerEdge XR11/XR12 NVIDIA GPU | 16 CPU 32 GB memory 500 GB storage GPU – Ampere A2, 16 GB RAM | 24 CPU 64 GB memory 500 GB storage GPU – Ampere A2, 16 GB RAM |
VxRail NVIDIA GPU | 16 CPU 96 GB memory | 32 CPU 128 GB memory |
The Cognex Designer runtime, when deployed as a stand-alone executable (with no development environment), can be viewed as a more versatile component in the overall Vision System architecture. Located at the far edge on the industrial factory floor, the ruggedized nature of these hardened compute platforms provides the connectivity requirements to GigE cameras for capturing product images.
Platform | Small/Medium | Large |
Dell XR4000 NVIDIA GPU | 8 CPU 32 GB RAM 3 USB ports 3 Gig-E interfaces | 16 CPU 64 GB RAM 3 USB ports 3 Gig-E interfaces |
Dell Edge Gateway 5200 | 8 CPU 32 GB RAM 4 USB ports 3 Gig-E interfaces | Not Recommended |
In our testing we observed the following scenarios:
For more information, see Cognex VisionPro ViDi Help - Deployment PC Requirements - Documentation | Cognex
CogVisionToolMultiThreading.Enable = true;
CogVisionToolMultiThreading.ThreadCountMode = CogVisionToolMultiThreadingThreadCountModeConstants.HardwareDefined;
This option enables multi-threading on a VisionPro vision tool level (for example, a CogBlobTool). In this way, VisionPro applications can be designed for increased performance by allowing parts of the inspection to be executed in parallel.
Since vision applications are highly customizable, the performance of the overall application is dependent on several aspects:
The hardware required for a specific application must be chosen at the time when a working model of the vision application exists, and initial performance can be tested. Running a proof-of-concept (POC) or leveraging benchmarks from similar application deployments can also assist in sizing the platform requirements.