Category: Equipment

  • Improving Cooling in My New AI Workstation

    four installed NVIDIA video cards: 3090 FE and 3 x A4000

    In my original write-up about building my new AI-focused workstation, I mentioned that I was concerned about the temperatures the lower three NVIDIA RTX A4000 video cards would reach when under load. After extensive testing, I found them–especially the middle and bottom cards–to go over 90C after loading a 70B model and running prompts for about 10 minutes.

    There are two ways that I’m working to keep the temperatures under control as much as possible giving the constraints of my case and my cramped apartment environment.

    terminal emulator screen

    First, I’m using these commands as root:

    # nvidia-smi -i 0 -pl 200 
    # nvidia-smi -i 1 -pl 100
    # nvidia-smi -i 2 -pl 100
    # nvidia-smi -i 3 -pl 100

    What this command, bundled with the NVIDIA driver, does is select a video card (the first video card in the 16x PCIe slot is identified as 0, the second video card is 1, the third is 2, and the fourth is 3) and change its maximum power level in watts (200 watts for card 0, 100 watts each for cards 1-3). If the power level is lower, the heat that the card can generate is lower. I set the 3090 FE (card 0) to 200 watts, because it has better cooling with two fans and it performs well enough at that power level (raising the power level leads to steeper slope of work being done).

    PC case slot fan with molex power connector

    The second solution was to add more fans. The first fan is a PC case slot fan perpendicular to the video cards. This is a constantly on fan powered by a molex connector that has a blower motor that sucks in air from inside the case and ejects it out the back of the card. These use to be very useful back in the day before cases were designed around better cooling with temperature zones and larger intake and exhaust fans. The second fan was a Noctua grey 120mm fan exhausting out of the top of the case. This brings the fan count to two 140mm intake fans in the front of the case, two 120mm exhaust fans in the top of the case, one 120mm exhaust fan in the rear of the case in line with the CPU, and one slot fan pulling hot air off the video cards and exhausting it out of the back.

    computer case with four video cards before installing slot exhaust fan
    3/4 view of computer case with slot fan installed
    side view of computer case interior with slot fan above the four video cards

    With these cooling-oriented upgrades, I’ve found that the temperatures are slightly better during operation, but perhaps helping in a way that I had not considered before is that the fans help cool the cards down faster after an operation is completed than the cards were cooling down on their own before. Also, the A4000 temps before seemed to be high, higher, and highest going from card 1 to 2 to 3. Now, the middle card or 2 has a slightly higher temp than the bottom card or 3. Below is the output from:

    nvidia-smi -l 1

    which displays information about the detected NVIDIA video cards including card type, fan speed, temperature, power usage, power cap, and memory usage. The first Terminal screenshot below shows the cards at rest before loading a model. The second Terminal screenshot below shows the cards after a model has been loaded and it is producing output from a prompt for some minutes.

    terminal window with nvidia-smi output of four video cards with lower temperatures and low power draw
    terminal window with nvidia-smi output of four video cards with higher temperatures and higher power draw

    Y made a good point that since it’s the winter, the ambient temperature in the apartment is much cooler–we usually keep it about 66F/19C. When summer comes, it will be much hotter in the apartment even with the window air conditioner going (we are on the top floor of a building that does not seem to be insulated based on sounding and spot temperature measurements).

    The key to healthy computer components is cooling–forcing ambient air into the case and moving heated air out. Seeing how well the slot fan has worked, I’m thinking that a next step would be to drill one or two 120mm holes through the sheet metal side panel directly above where the A4000 video cards are and install high-CFM (cubic feet per minute) fans exhausting out. That would replace the currently installed slot fan. If I went that route, I can purchase PWM (pulse width modulation) fans so that I can connect them to the fan controllers on the motherboard, which will increase the speed of the fans according to the rising temperature inside the case when the computer is doing more work. This will reduce fan noise during low-load times but not affect cooling capacity.

    On a final note, I will report that I initially tried forcing cooler ambient air into the case through those two rear perpendicular slots to the video cards where the slot fan is currently installed. My thinking was that I could force cooler air over the top of the cards and the blower fans on the cards would carry out the hotter air. What I did to test this was build an enclosed channel with LEGO that sealed against the two open slots and had two 70mm PWM fans pulling air from the channel and pushing it down onto the three A4000 video cards. Unfortunately, this actually increased the temperatures on all three A4000s into the mid-90s C! The heat produced by those cards fed back into the LEGO channel and hot air trickled out of the two slots. Lesson learned.

  • Blue Blocking Orange Glasses for Indoor and Outdoor Use

    2 pairs of orange colored glasses

    A long while back, Y suggested that I wear blue-blocking orange colored glasses in the hours leading to bedtime to help me avoid being woken by the blue light coming from my computer display, television, overhead lights, and smartphone. I can report that donning orange colored glasses a couple of hours before sleep (and taking with 1.5mg of melatonin and 700mg of magnesium glycinate about an hour before bed) helps me fall asleep much more quickly than I used to before wearing the glasses every evening.

    As I began developing presbyopia or age-related impairment of my eyes to focus on nearby objects, I upgraded from the pair of glasses on the left to the ones on the right to accommodate my reading glasses as shown below.

    reading glasses nested inside a pair of blue blocking orange glasses

    I repurposed my original pair of orange glasses to wear when I go out for walks at night with Y. I noticed that the bright lights of cars could sometimes trigger a migraine. Wearing these glasses reduces the intensity of on-coming car’s headlights on newer vehicles, which as others have noted, seem to be far brighter than halogen lights on older cars and trucks.

    To illustrate how well these glasses cut out blue light, you can see the blue Prospect Park West Holy Pita restaurant sign turn to an orange-white color through the orange lens below.

    the orange glasses' lens turns a blue sign orangish white
  • Gerber Multi-Plier 400 Compact Sport Is Another Handy EDC Tool

    Gerber Multi-Plier 400 Compact Sport with all tools unfolded

    In addition to my Swiss Army Explorer knife, I carry this Gerber Multi-Plier 400 Compact Sport multitool in my EDC. While some of its component tools overlap with the Explorer, its pliers and different size in-line Phillips screwdriver have come in handy on more than one occasion. My friend Perry introduced me to this Made in USA Gerber tool back in the early 2000s when he was using his to work on his computer. Soon thereafter, I picked one up for my tool kit.

    Gerber Multi-Plier 400 Compact Sport, closed
    Gerber Multi-Plier 400 Compact Sport, closed
    Gerber Multi-Plier 400 Compact Sport, pliers extended
    Gerber Multi-Plier 400 Compact Sport, pliers extended and handles open
    Gerber Multi-Plier 400 Compact Sport, flat head screwdrivers, can opener, and scissors opened
    Gerber Multi-Plier 400 Compact Sport, knife, Phillips screwdriver, and flathead screwdriver opened
    Gerber Multi-Plier 400 Compact Sport, inline Phillips screwdriver extended and pliers retracted
  • Victorinox Swiss Army Knife Explorer Still Part of My EDC

    Victorinox Swiss Army Knife Explorer, top layers closed

    My dad gave me this Explorer model Victorinox Swiss Army knife when I was 16 or so. I know that it was manufactured before 1991, because it doesn’t have the updated hook.

    While it’s neat accessory feature is the magnifying glass–for inspecting small things or helping start a fire when the sun is out, the part that I’ve used the most is the in-line Phillips screwdriver in the top layer tools. Unlike models with the back-side Phillips, the in-line screwdriver works in so many more situations. In particular, I can’t count how many computers I’ve worked on with this knife’s screwdriver–removing cases, installing components, etc. It has held up remarkably well over the years despite how often I’ve used it. However, it does need a proper cleaning.

    Victorinox Swiss Army Knife Explorer, top layers opened
    Victorinox Swiss Army Knife Explorer, bottom layers opened
    Victorinox Swiss Army Knife Explorer, bottom layers closed
  • Be Prepared With a Compact First Aid Kit

    a ziploc full of first aid supplies and a small packet of tissues

    The most important lesson that I learned in the Boy Scouts is “Be Prepared.” I can’t count how many times being prepared has helped me or someone around me–usually in small ways, but occasionally in big ways.

    One of the ways that I maintain preparedness is keeping an individual first aid kit (IFAK) on my person. My full kit fits inside a small MOLLE pouch that I keep in my backpack, but within that kit is a smaller pouch of core components that is small enough that I can slip it into a pocket if I’m not wearing my backpack.

    I would recommend making a small kit like this to keep on your person. It’s easy to do using things you likely already have on-hand. When you or someone around you needs something in it, you’ll be thankful for investing a little bit of time, energy, and materials to be ready for that moment.

    a grid layout of first aid kit contents: pills, pouches, bandaids, eye drops, and tissues

    You can put whatever you think is most useful into your compact first aid kit. In mine, I carry things that I regularly use or think might be useful. I keep my kit in a waterproof snack-size Ziploc bag. It includes:

    • 6 alcohol antiseptic pads
    • 2 lens wipes
    • 2 bandaids
    • 2 aspirin
    • 1 antibiotic ointment
    • 3 single-use eye drops
    • 4 Advil (ibuprofen)
    • 4 Eve DX (a Japanese-made pain reliever that helps with migraines)

    In addition to the first aid kit, I also keep a pouch of tissues (my current Japanese-made Sumikkogurashi ones were donated by Y).

    Whatever you put in your first aid kit, stick to what fits your needs. Keep it up to date as you use things in it. And, adjust its contents as your needs change.

    a ziploc full of first aid supplies and a small packet of tissues