pcm icon indicating copy to clipboard operation
pcm copied to clipboard

PCM-IIO fails while running on a 8 socket box

Open NishilKumar opened this issue 4 years ago • 2 comments

Hi ,

I was able to get a successful run of pcm-iio on a 4 socket box of HPE Superdome Flex 280 Server. When i tried the same on 8 socket box , pcm-iio failed .

While debugging it , I can see in the source file , the hardcoding is to handle for 4 sockets.

src/pcm-iio.cpp 57 const uint8_t max_sockets = 4;

I tried modifying it to 8 to see if it works , but ran into ubox[6] in PciHandle does not exist.

for(uint32_tsocket_id = 0; socket_id < sockets_count; socket_id++) {
	        if(!PciHandleType::exists(0, ubox[socket_id], SKX_UBOX_DEVICE_NUM, SKX_UBOX_FUNCTION_NUM)) {
	            cerr << "No access to PCICFG\n"<< endl;
	            returnfalse;
    }

Can 8socket + box support be added for pcm-iio? pcm-pcie works fine for 8+ sockets too.

NishilKumar avatar Mar 02 '22 19:03 NishilKumar

I'll see if i can find someone to look into this.

ogbrugge avatar Mar 03 '22 23:03 ogbrugge

@ilia-kurakin any idea if pcm-iio can be extended to support 8+ socket systems?

opcm avatar Mar 05 '22 14:03 opcm