Skip to content

Instantly share code, notes, and snippets.

@Chester-Gillon
Chester-Gillon / Notes_about_Alibaba_Cloud_AS02MC04_NIC_Card.md
Last active July 20, 2025 18:23
Notes about Alibaba Cloud AS02MC04 NIC Card
@Chester-Gillon
Chester-Gillon / MATLAB_parallel_pool_maximum_RSS.md
Last active July 13, 2025 13:22
MATLAB parallel pool maximum RSS

0. Introduction

Notes about trying to track the maximum RSS (Resident Set Size) for a MATLAB parallel pool.

This is using: Ubuntu 24.04.2 LTS with the following installed:

>> ver
-----------------------------------------------------------------------------------------------------------
MATLAB Version: 9.8.0.1873465 (R2020a) Update 8
MATLAB License Number: 
@Chester-Gillon
Chester-Gillon / AlmaLinux_10_initial_look.md
Last active June 28, 2025 20:57
AlmaLinux 10 initial look

0. Introduction

Some notes about an initial look at AlmaLinux 10. Downloaded live images from the links in How to download and write images

For testing copied the images to a MicroSD card. E.g.:

$ sha256sum -c CHECKSUM\(1\)
AlmaLinux-10.0-x86_64_v2-Live-GNOME.iso: OK
@Chester-Gillon
Chester-Gillon / HP_USB-C_to_RJ45_Adapter_G2.md
Last active May 18, 2025 18:45
HP USB-C to RJ45 Adapter G2 usage

0. Introduction

Contains some notes about use of a HP USB-C to RJ45 Adapter G2

1. HP Z4 G4 AlmaLinux 8.10

Using Kernel 4.18.0-553.51.1.el8_10.x86_64

The output of dmesg after plugged into a front panel USB-C port. There was a delay of several minutes before connected to an Ethernet switch and the following output ends with the link coming up:

@Chester-Gillon
Chester-Gillon / VFIO_DMA_mappings_behaviour_on_process_fork.md
Last active May 5, 2025 13:01
VFIO DMA mappings behaviour on process fork

0. Introduction

fork() Causes DMA Buffer in Physical Memory to Retain Stale Data on Subsequent Writes describes an issue with a forked process causing issues with memory for DMA. It wasn't clear what mechanism was being used to allocate the memory for DMA.

The test_dma_descriptor_credits program was modified with the option of spawning a child process to see if could replicate the issue when VFIO is used for DMA mappings.

Used the following FPGA designs, which exercise both the memory mapped and stream interface test functions:

  • dma_blkram (TEF1001)
  • XCKU5P_DUAL_QSFP_dma_stream_loopback
  • Nitefury Project-0 version 0x2
@Chester-Gillon
Chester-Gillon / Intel_Windows_Ethernet_drivers_notes.md
Last active March 30, 2025 19:07
Intel Windows Ethernet drivers notes

0. Notes about Intel Ethernet drivers under Windows

My Sniffer Isn't Seeing VLAN, 802.1q, or QoS Tagged Frames shows the register key which is applicable to different Adapter Driver. Initially was unsure how to find which driver was was used by a particular adapter. Subsequently found that the following provide a mapping of the Windows Driver for different adpaters:

1. Investigating multiple VLAN support under Windows 11

Using:

  • HP Z6 G4 workstation
@Chester-Gillon
Chester-Gillon / Vivado_under_Windows.md
Last active March 8, 2025 19:28
Vivado under Windows

0. Introduction

Some notes about using Vivado under Windows.

1. Missing VCOMP140.DLL

Vivado 2024.2 was installed in Windows 11 Pro for Workstations Version 24H2 (OS Build 26100.3323), after selecting Vitis as the top level instsallation.

On attempting to run vivado_lab get:

0. Introduction

Some notes about using Xilinx ISE 14.7, which is the most recent version, for devices not supported under Vivado

1. Old libstdc++ libraries limited XPS functionality

Under Ubuntu 24.04.2 LTS on starting xps only got the ability to create a text file.

Xilinx Platform Studio (EDK) GUI not fully initiating in Linux describes the issue.

@Chester-Gillon
Chester-Gillon / Windows_MAC_address_for_ConnectX-4.md
Last active February 8, 2025 15:01
Windows MAC address for ConnectX-4

Investigation to test the answer How to find the factory default MAC address?

Using Windows 11 Pro 24H2 (OS Build 26100.3037)

Only Ethernet interface with a cable connected is a ConnectX-4. No settings had been changed for the ConnectX-4 since it was installed.

Output from ipconfig /all:

Ethernet adapter Ethernet 5:
@Chester-Gillon
Chester-Gillon / Linux_hwmon_class.md
Last active February 15, 2025 16:23
Linux hwmon class

0. Introduction

ASUS motherboard fan control under Linux mentions use of the pwmconfig command to identify fans.

Packages which provide pwmconfig:

  • Ubuntu 24.04.1 LTS : fancontrol
  • AlmaLinux 8.10 and 9.4 : lm_sensors

1. HP Z640 running Ubuntu 24.04.1 LTS