ホーム 暮らし The story of how I settled for a used Tesla P100 while longing for a 20GB-class LLM

The story of how I settled for a used Tesla P100 while longing for a 20GB-class LLM

八木 麻衣 八木 麻衣 • 更新: • 公開: • 読了約 45 分
目次

*This article, images, etc., are all AI-generated.
Image: ChatGPT
Text: Codex

I wanted to add a CUDA-capable GPU to my home server so I could play around more with local LLMs and image generation.

At first, I was looking for a "used GPU with lots of VRAM," keeping 20GB-class Qwen/Gemma models in mind. I compared options like the P40 24GB, V100 SXM2 conversion cards, P100, K40, RTX 4060 Ti 16GB, and RX 9060 XT 16GB.

To conclude, I ultimately went with Tesla P100.

The deciding factor wasn't flashy performance, but rather "whether it could run reasonably on this server." When I weighed the price, drivers, compatibility with the H370-F, and concerns about cooling and power, the P100 seemed the most realistic.

The P100 isn't the highest-performing card. It doesn't have 24GB of VRAM, nor does it have Tensor Cores like the V100. Even so, given my current conditions, it was the perfect compromise as a "used Tesla that isn't too aggressive."

Environment

n49f8e43daecd

The server I plan to install it in has this configuration.

  • Hostname: Secret

  • Motherboard: ASUS ROG STRIX H370-F GAMING

  • CPU: Intel Core i9-9900

  • Memory: 64GB class

  • OS: Ubuntu 24.04.4 LTS

  • kernel: 6.17.0-23-generic

  • Boot mode: UEFI

  • Secure Boot: disabled

  • Current GPU: Intel UHD Graphics 630

The H370-F has a PCIe x16 slot connected directly to the CPU. If I'm going to insert a GPU, it will be in the top PCIEX16_1 slot.

My policy is to leave screen output to the Intel integrated GPU and use the Tesla-series GPU exclusively for CUDA. This was important, as Tesla P100/P40/V100 cards are not designed to be used for screen output like standard gaming GPUs.

What I bought and the total cost

I gathered not only the P100 unit itself but also the parts for cooling and handling.

I referred to the Qiita article by Syoyo Fujita.

That article introduced a configuration where the P100, which tends to get hot on its own, is placed outside using a riser and cooled with a heatsink, thermal pads, and a fan.

I followed a similar line of thinking, gathering parts with the premise of arranging them to be easily cooled by airflow from the start, rather than suffering from heat by plugging the card directly into the case.

The items I purchased are as follows. The prices are the amounts shown on the product pages at the time of writing this article. Since Amazon prices fluctuate often, I have ultimately used the amounts from my order history as the definitive figures.

  • GPU unit: NVIDIA Tesla P100

    • URL: https://paypayfleamarket.yahoo.co.jp/item/z603159244

    • Quantity: 1

    • Unit price: 18,999 yen

    • Subtotal: 18,999 yen

  • Cooling fan: SCYTHE Wonder Snail 120 PWM 2400RPM

    • URL: https://www.amazon.co.jp/dp/B08SBY2CGH

    • Quantity: 2

    • Unit price: 955 yen

    • Subtotal: 1,910 yen

  • Thermal pad: 100mm x 100mm x 1mm thermal conductive silicone pad 2PCS

    • URL: https://www.amazon.co.jp/dp/B0C31B2NBC

    • Quantity: 1

    • Unit price: 747 yen

    • Subtotal: 747 yen

  • PCIe riser: GLOTRENDS 150mm PCIe 3.0 x16 riser cable

    • URL: https://www.amazon.co.jp/dp/B0C4171HKX

    • Quantity: 1

    • Unit price: 2,799 yen

    • Subtotal: 2,799 yen

  • Additional heatsink: Audiofan aluminum heatsink 69mm x 150mm x 37mm

    • URL: https://www.amazon.co.jp/dp/B08C53FP7M

    • Quantity: 1

    • Unit price: 1,575 yen

    • Subtotal: 1,575 yen

The total is as follows.

P100本体          18,999円
冷却・取り回し     7,031円
-------------------------
合計              26,030円

The P100 unit itself was 18,999 yen, and even including the cooling setup, it was about 26,000 yen. At this price, it seemed natural to try the P100 first before moving on to an RTX 4060 Ti 16GB or a V100 SXM2 conversion.

Of course, since I am adding cooling parts, it is not a 'buy and plug in' GPU. Since many P100 units are intended for passive cooling, you have to adjust the fan mounting, airflow direction, heatsink contact, thermal pad thickness, and exhaust within the case while actually observing it.

What I thought about first: I want to run 20GB-class models

When looking into local LLMs, I became interested in 30B and 35B class Q4 models.

Models in this range can be around 20GB just for the model itself. With 16GB of VRAM, it often doesn't fit entirely on the GPU, forcing some of it to be offloaded to the CPU/RAM.

So, at first, I wanted a GPU with 24GB of VRAM.

The first candidate that was attractive was the Tesla P40 24GB. If you can pick one up cheaply, you can secure 24GB of VRAM at a very low cost. If the only goal is to try 20GB-class models, the P40 seems like a very logical choice.

However, as I continued the selection process, I realized that 'running 20GB-class models' was not my only goal.

What I wanted was not just a card dedicated to huge models, but a GPU that could run reasonably well on this server, be recognized by Ubuntu, and not cause too much anxiety regarding cooling or power.

From that perspective, the P40 also had some drawbacks.

Organizing the candidates

Here is a rough summary of the candidates I considered.

Tesla P100 PCIe
  • VRAM: 16GB

  • Pros: HBM2, Pascal, supported by current Data Center Drivers, relatively straightforward PCIe card

  • Concerns: 20GB-class models won't fit

  • Verdict: Remained until the end

Tesla P40
  • VRAM: 24GB

  • Pros: Can get 24GB of CUDA cheaply

  • Cons: Old, 250W, requires cooling modifications, requires even more compromises than the P100

  • Verdict: Passing on this for now

V100 SXM2 -> PCIe conversion unit
  • VRAM: 16GB

  • Pros: Volta, Tensor Core, quite interesting

  • Cons: 300W class, conversion board, Large BAR, compatibility issues, power supply, cooling

  • Verdict: A romantic choice

RTX 4060 Ti 16GB
  • VRAM: 16GB

  • Pros: New and easy to handle, CUDA, low power consumption

  • Cons: More expensive than a used Tesla, less interesting

  • Verdict: The safe bet

RX 9060 XT 16GB
  • VRAM: 16GB

  • Pros: New and seems fast, power-efficient

  • Cons: Not CUDA, concerns regarding ROCm

  • Verdict: Low priority this time

Tesla K40
  • VRAM: 12GB

  • Pros: It's cheap, period

  • Concerns: It's Kepler, which is too old; it's tough with CUDA 12; 12GB

  • Verdict: Pass

Looking at this summary alone, the 24GB P40 is quite attractive.

However, I ultimately leaned toward the P100. The reason is that for this purchase, I prioritized "ease of use and lower risk as a used Tesla" slightly more than "maximum VRAM."

Reasons for passing on the P40 24GB

The P40 is still attractive even now.

According to the official NVIDIA datasheet, the Tesla P40 is a Pascal-generation GPU with 24GB GDDR5, 346GB/s, PCIe 3.0 x16, and a maximum of 250W. A capacity of 24GB is quite powerful for local LLMs.

I think of the P40 not as a card you buy for speed, but as one you buy to "secure 24GB of VRAM cheaply."

But when it comes to whether you can actually buy it cheaply, it was questionable at the time I looked, at least.

As of May 9, 2026, based on my search of domestic flea market/auction sites, the price range for the P40 24GB was as follows.

  • Yahoo! Flea Market

    • Listing: NVIDIA Tesla P40 24GB Rare Item

    • URL: https://paypayfleamarket.yahoo.co.jp/search/NVIDIA Tesla?open=1

    • Price: 45,000 yen

  • Yahoo! Auctions

    • Listing: Used NVIDIA ... Tesla P40

    • URL: https://auctions.yahoo.co.jp/search/search?p=tesla%2Bp40&fixed=0&b=1&n=50

    • Price: Current 70,000 yen

  • Yahoo! Auctions

    • Listing: Tesla P40 24GB GDDR5 PCIe 3.0 x16

    • URL: https://auctions.yahoo.co.jp/search/search?p=tesla%2Bp40&fixed=0&b=1&n=50

    • Price: Current 141,187 yen / Buy it now 148,617 yen

Of course, market prices change daily, and items can sell out or drop in price.

I saw a Tesla P40 24GB with a fan on Mercari for 46,999 yen, but it was marked as sold out on the individual page. Therefore, I did not include it as a viable candidate for purchase.

At the very least, at this point in time, it didn't feel like you could just easily pick up a P40 for 20,000 to 30,000 yen.

The P100 I bought cost 18,999 yen for the unit itself, and even including cooling and a riser, it came to 26,030 yen. The P40s I could confirm as available for purchase were at least 45,000 yen or more. If you lean toward models with fans or those that are verified to work, the price difference compared to the P100 setup becomes even larger.

In other words, even though the P40 is attractive for its 24GB of VRAM, at the time of this purchase, it was at least 19,000 yen more expensive than the P100 setup.

These are the points that concerned me this time.

  • It's a 250W-class card, so cooling modifications are basically a prerequisite.

  • Many are passive cooling models, making them difficult to install directly into a standard PC case.

  • While it has more capacity for LLMs than the P100, as a card, it requires quite a bit of compromise.

  • The listings that seemed actually purchasable in Japan were significantly more expensive than the P100 setup.

  • My intended use wasn't solely focused on 20GB-class models just yet.

If you absolutely must run a 20GB-class Q4 model, the P40 is quite good.

This time, this is the first card I'm using to set up a CUDA GPU on an Ubuntu server to try out LLMs, image generation, and Docker-related tasks. Considering that, even though the P40's capacity is attractive, it felt a bit too heavy to take on the burden of cooling and operational quirks.

Furthermore, based on the market prices I saw this time, it wasn't as good a deal as the P100.

V100 SXM2 conversion products are interesting, but they were a bit too aggressive.

What I struggled with the most was a listing for a Tesla V100-SXM2-16GB mounted on an SXM2 to PCIe conversion board.

The V100 is from the Volta generation, newer than the P100/P40, and it also has Tensor Cores. With 16GB of HBM2, it is quite attractive in terms of performance.

However, what I saw this time was not a standard Tesla V100 PCIe card, but a modified version where an SXM2 module was converted into a PCIe card using an adapter board.

These are the points that particularly caught my attention.

  • The SXM2 version of the V100 needs to be viewed as a 300W-class device

  • The quality and specifications of the conversion board are difficult to understand

  • Need to confirm whether the auxiliary power is PCIe 8-pin or EPS 8-pin

  • I couldn't find any successful examples of direct use with the H370-F

  • Large BAR / Resizable BAR / Above 4G Decoding settings are uncertain

  • Depending on the motherboard, PCIe bifurcation might be involved

  • Even if it is visible in lspci, it doesn't necessarily mean it can be initialized with nvidia-smi

The H370-F is not a bad foundation for testing a V100. It has a CPU-direct PCIe x16 slot, iGPU output, and UEFI boot.

Even so, an SXM2 conversion product is not a "normal PCIe GPU." Seeing a V100 for around 43,000 yen is quite attractive. However, there were too many things to verify for an SXM2 product with a conversion board to be my first choice.

It's a romantic choice where you win if it works. I decided to pass this time.

The K40 12GB was cheap but too old

I also saw the Tesla K40 12GB listed for around 8,000 yen.

It's cheap. I'm quite tempted.

But it's tough for LLM use.

The K40 is of the Kepler generation, and its Compute Capability is 3.5. Support for the Kepler architecture has been removed in CUDA 12.0. Even in NVIDIA's Data Center Driver documentation, the R470 branch is listed as the final supported branch for Kepler-based Data Center GPUs.

In other words, it is too old to use easily with current Ubuntu 24.04, modern PyTorch, llama.cpp, or Docker CUDA environments.

Furthermore, since the VRAM is only 12GB, it doesn't reach the 20GB-class models I was interested in this time. You still have to deal with the hassle of cooling and power, yet the target models won't fit.

Even though it was cheap, I decided to pass on this as well.

Comparison with RTX 4060 Ti 16GB / RX 9060 XT 16GB

If you want to play it safe, buying a 16GB consumer GPU is the easiest path.

The RTX 4060 Ti 16GB supports CUDA, has low power consumption, and can be treated like a standard PC component. There is also plenty of information available for local LLMs and image generation.

However, from the perspective of someone looking for a used Tesla, the price seems a bit high. While its performance and ease of use are attractive, it didn't quite fit my current mood of wanting to 'try out a data center GPU on the cheap'.

The RX 9060 XT 16GB also seems new and fast for models within 16GB. The official AMD version has a 16GB model, with a maximum memory bandwidth of 320GB/s and a Total Board Power of 160W. Support for it is also progressing in ROCm.

However, there is still a lot of information that assumes NVIDIA/CUDA for local LLMs and image generation, so the NVIDIA side has the advantage when it comes to ease of troubleshooting.

Both are good cards, but my conclusion this time was: 'If 16GB is enough, I'd rather start cheap with a used P100 than go for a consumer GPU that leans toward being brand new.'

Reasons for choosing the P100

Even after comparing them this far, the P100 is not a flashy card.

It doesn't have 24GB like the P40. It doesn't have Tensor Cores like the V100. It's not a new and easy-to-use consumer GPU like the RTX 4060 Ti.

Even so, under the current conditions, the P100 seemed just right.

The reasons I felt that way are as follows:

  • You can start for 18,999 yen for the unit itself, or about 26,030 yen including cooling.

  • It is easy to choose a unit that can be handled as a standard PCIe card.

  • You can avoid board compatibility issues like those found with SXM2 conversion products.

  • It has 16GB of HBM2, and the bandwidth is reasonably strong.

  • It is of the Pascal generation and, like the P40, remains a target for the R580 series Data Center Driver P-Series.

  • It has Compute Capability 6.0, so it is not as old as the K40.

  • Considering the price, it is easy to justify as a first GPU for CUDA.

According to the official NVIDIA P100 PCIe datasheet, the P100 PCIe is of the Pascal generation, has 3584 CUDA cores, 16GB or 12GB of HBM2, PCIe Gen3, and a maximum power consumption of 250W.

The NVIDIA Tesla P100 is also included in the supported products for the P-Series in the release notes for NVIDIA's current Data Center Driver R580. Ubuntu 24.04 series is also included in the supported OS list for R580.

This point—that it is an 'old Tesla that can still be handled within the scope of current drivers'—was significant.

Accepting the trade-offs of the P100

Of course, choosing the P100 doesn't mean all my worries disappear.

There are points I have to accept.

  • 20GB-class Q4 models won't fit into a single VRAM

  • There are no Tensor Cores

  • It's not as fast as the latest GPUs

  • If you have a passive cooling unit, you need to manage airflow

  • Since it's a 250W-class card, check your power cables carefully

  • You need to verify support for older architectures in pre-built packages and the latest frameworks

Even so, rather than aiming straight for a P40 to tackle 20GB-class models from the start, it suited me better to first build a CUDA environment with a P100 and try out models under 16GB, image generation, Docker, and inference backends.

If I really want to get serious about 20GB-class models, I can consider a P40 24GB or RTX 3090 24GB then. My decision this time was not to jump straight to that level.

Things to check after installation

Once the GPU is installed, first check if it is visible from the OS.

lspci -nn | grep -Ei "nvidia|vga|3d|display"
nvidia-smi
nvidia-smi -q -d POWER,TEMPERATURE,PCIE

Also check if it is visible from a CUDA container in Docker.

docker run --rm --gpus all nvidia/cuda:12.4.1-base-ubuntu22.04 nvidia-smi

During load, monitor the temperature, power consumption, and PCIe link.

watch -n 2 'nvidia-smi; echo; nvidia-smi -q -d POWER,TEMPERATURE,PCIE | egrep "Power Draw|GPU Current Temp|Current Link Width|Current Link Generation"'

After the load, check the kernel logs as well.

sudo dmesg -T | grep -Ei 'NVRM|Xid|AER|pcie|GPU has fallen off'

If you see 'Xid' or 'GPU has fallen off the bus' errors, suspect the power supply, cooling, or PCIe setup before the drivers.

Final verdict

To summarize this selection in one word: if you just want to try 20GB-class LLMs cheaply, the P40 24GB is strong. For performance and the thrill of it, a V100 SXM2 conversion is also quite interesting. If you prioritize stability, I think the RTX 4060 Ti 16GB is the easiest choice.

Nevertheless, this time I chose the P100, balancing price, feasibility with the H370-F, driver support, and the lower risk of using conversion boards.

When choosing a used GPU, relying solely on the spec sheet will lead to the wrong decision.

It was important to choose not the "most powerful GPU," but one that I could use properly in my own environment without strain or damage.

In my case, the P100 was the right compromise.

References

  • NVIDIA Tesla P100 PCIe Data Sheet: https://images.nvidia.com/content/tesla/pdf/nvidia-tesla-p100-PCIe-datasheet.pdf

  • NVIDIA Tesla P40 Data Sheet: https://www.nvidia.com/content/pdf/tesla/184427-Tesla-P40-Datasheet-NV-Final-Letter-Web.pdf

  • NVIDIA Tesla K40: https://www.nvidia.com/content/PDF/kepler/nvidia-tesla-k40.pdf

  • NVIDIA Legacy CUDA GPU Compute Capability: https://developer.nvidia.com/cuda/gpus/legacy

  • NVIDIA Data Center Driver R580 Release Notes: https://docs.nvidia.com/datacenter/tesla/tesla-release-notes-580-126-09/index.html

  • NVIDIA CUDA 12.0 Release Notes: https://docs.nvidia.com/cuda/archive/12.0.0/cuda-toolkit-release-notes/index.html

  • AMD Radeon RX 9060 XT 16GB: https://www.amd.com/ja/products/graphics/desktops/radeon/9000-series/amd-radeon-rx-9060xt.html

  • AMD ROCm Radeon compatibility: https://rocmdocs.amd.com/projects/radeon/en/latest/docs/compatibility/native_linux/native_linux_compatibility.html

  • ASUS ROG STRIX H370-F GAMING Official Specifications: https://rog.asus.com/us/motherboards/rog-strix/rog-strix-h370-f-gaming-model/spec/

  • ASUS ROG STRIX H370-F GAMING Official Manual: https://dlcdnets.asus.com/pub/ASUS/mb/LGA1151/ROG_STRIX-H370-F_GAMING/E13589_ROG_STRIX_H370-F_GAMING_UM_WEB.pdf

同じカテゴリの記事

八木 麻衣
トレンドリサーチャー 八木 麻衣
プロフィールを見る →

全記事の事実確認を担当。一次情報・公式発表・公開資料の三点を確認できない場合は公開を見送る判断をします。

おすすめの関連記事