Alex Lowe avatar

Ubuntu hibernate without swap partition

Ubuntu hibernate without swap partition. Hibernation (suspend-to-disk) The hibernation feature (suspend-to-disk) writes out the contents of RAM to the swap partition before turning off the machine. Aug 2, 2021 · To enable Hibernation in 20. 2. 04 with EFI boot. The only drawback to this method is that after 3 password attempts the system anyway continues booting, though without mounting the swap partition. Now I want to buy laptop with 32GB of RAM and I guess creator will try to make 32GB swap partition. 10 desktop install and suppose it to work with fresh 18. To check your swap partition open ‘System Monitor’. just make sure you get the device right for the swap partition in step 5 However, IF the PC that has been installed on has large amounts of RAM, the swap partition may be used less. Reboot back into your installed OS (ie without the live CD/USB) Go to "partitions" or "gparted" to get the UUID of your new swap partition. Then in a terminal run gparted , delete the swap partition, and resize the remaining partitions (doing a backup first may be a good idea). Feb 7, 2016 · I knew if I made swap partition on it, it would slow down even worse so I decided to not make one. cat /etc/fstab | grep swap. target–after the system shuts down, there’s nothing left to You can still use it for Ubuntu <= 20. Nov 21, 2022 · Create a new partition of type swap in the empty/unpartitioned space on your disk. Still need to test suspend-then-hibernate when I close the lid (in logind. 04: hibernate with 2 swap partitions, or 2 swap files, or 1 of each, which do I resume from? Oct 3, 2020 · Learn to set up hibernate on Ubuntu 20. That said, it has become rather rare for people to use the hibernation feature, so this may not matter to you. Find out the UUID of the partition on which the swap resides. So I think it is unreasonable to preserve a swap only for hibernation and I deleted this partition and decided to hibernate with hibernation file. Just create a large empty file, run mkswap on it, then add the swap. You can still use it for Ubuntu <= 20. (Hibernation function is better Jan 23, 2023 · Detailed instructions can be found on Ubuntu Wiki. Oct 31, 2015 · You have a swap partition and that's where the hibernation goes. sudo blkid | grep swap. Swap (Optional) – For hibernation or small RAM, you may create a partition, with usually as large as RAM size, used as Swap. Check the swap that is in use: sudo swapon -s. Jun 10, 2018 · You have quite much RAM and therefore swap is unlikely to be used often (except once per hibernation then, of course) and if your SSD is rather modern, it also won't be that sensitive. Dec 1, 2011 · Ive learned that one should allot a swap space inorder to have Hibernate option in Ubuntu, Why isnt it same with Windows? My Win 7 doesnt have any Swap space but still hibernates without a glitch. swapon --show NAME TYPE SIZE USED PRIO /swapfile file 2G 0B -2 sudo swapoff /swapfile sudo rm /swapfile See fstab(5). It is now on /dev/sdb3 and I updated /etc/fstab accordingly We may, however, want to have a smaller swap file or partition if we don't plan to hibernate our system at any point. Problem: I wanted to hibernate my computer but I couldn't without a swap file or swap partition. Leaving my desktop freely available to anybody. With some troubleshooting, you should be able to get hibernate functioning properly on your Ubuntu system. Using a small (compared to your partitions sizes, but large enough for memory) USB stick for swap-partition. Create swap as a file is pretty easy. Value example: 1234567. It is used for hibernation. We recommend first checking that your Ubuntu installation supports hibernation before making changes to system settings. Feb 24, 2016 · You can make use of gparted to increase the size of swap partition from the current 15GB to 30 GB. Do I need 32GB swap? what is SWAP and how large a swap partition should I Mar 18, 2024 · To employ it, Linux moves or swaps out blocks of non-critical memory to disk and swaps them back in on demand. sudo nano -Bw /etc/fstab. If you want to try hibernation, create a swap partition first. sudo nano -Bw May 20, 2020 · A swap partition is used as the destination of your memory's contents whenever you tell your system to hibernate. Gparted didn't allow me to resize my swap partition but I still had space left on my sdd so I created a new partition with sufficient space as linux-swap. Finally, reboot or run sudo swapon /dev/sdXY to use the swap without rebooting. Could not work with 2GiB of RAM, and while pointing the system UUID="xxx" /dev/sda7 none swap sw 0 0. Ubuntu 18. 9% of the time system is on it has enough memory for everything. Jun 25, 2020 · By having your swap as a file, you can disable it without having to deal with partitions or remove it and reclaim the space. Check the swap that is in use: sudo swapon -s If swap partition(s) are found: sudo swapoff -a sudo nano -Bw /etc/fstab Add # before the UUID of the swap partition(s): # UUID=XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX none swap sw 0 0 Dec 19, 2019 · The swap partition in theory remains free for hibernation, as long as the swap file is large enough to handle all swapping. May 6, 2013 · Also if you're planning to use hibernation, you might want to have some swap space. Is there a way around the SWAP file and get hibernation running? How to use hibernation without a swap partition. Did not like some other things, so I decided to get back to an Ubuntu flavor, but the installer did not put any swap file or partition on it (maybe it got confused by Q4OS’s swap partition). 10 by just updating /etc/default/grub with: GRUB_CMDLINE_LINUX_DEFAULT=“quiet splash resume=UUID=<uuid of my swap partition” then “systemctl hibernate” works as expected. Jul 28, 2021 · However, the last step, the configuration for the UI to trigger the hibernation, is only for Ubuntu Budgie. 1 running on it before, hibernated without any problems. Do I really need such big partition for occasional hibernation? Dec 1, 2011 · Ive learned that one should allot a swap space inorder to have Hibernate option in Ubuntu, Why isnt it same with Windows? My Win 7 doesnt have any Swap space but still hibernates without a glitch. But not only do I loose the advantage of workload spread with this, it also seems probable that hibernation would follow the same priorities as swapping, and go for the used swap location instead of for the free one. I was following the official documentation here and I attempted the "hibernation test" by executing sudo pm-hibernate from a command prompt. Oct 24, 2020 · I looked at a website explaining swap and one which has hibernation into swap file described. # # <file system> <mount point> <type> <options> <dump> <pass> # / was on /dev/sda5 during installation UUID=c9b9e601-f78a-41d8-a4f4-87e276b4aeb7 / ext4 errors=remount-ro 0 1 # /boot/efi was on /dev/sda1 during installation UUID=9ADF-D1D2 /boot/efi vfat umask=0077 0 1 # /home was on /dev/sda6 during installation UUID=782e4b9f-4941 May 6, 2020 · on my DELL XPS 9300 hibernation works on Ubuntu 20. 04 onwards, a swapfile rather than a dedicated swap partition is used (except when LVM is used). /swap partition: Since 18. 04 on a new 240GB SSD, and immediately noticed that /dev/ubuntu-vg/swap_1 on the resulting installation is 137GB. Jul 5, 2023 · Nowadays, at least in recent Ubuntu versions, there's not need to create a swap partition if you aren't going to use the Hibernation Mode. fr 2021 # Enables Hibernation with swap file with menus on Ubuntu 20. Q: Replace a partition? Does a prior swapfile get re-used/created? Jun 17, 2019 · Hibernation requires swap space on a separate partition. Note: if using Btrfs DO NOT attempt to use a swap file as this may cause filesystem corruption Sep 15, 2018 · From Ubuntu 18. Clarification why I need this I configured two swap partitions: One primary swap on the second HDD. It defaults to the swap partition you installed and I know this because if you by some chance change your swap partition or UUID you need to update it there and run sudo update-initramfs -u for hibernation to work again. Add your new swap partition to /etc/fstab and delete (or comment out) the old swap file Dec 1, 2011 · Now you should be back in your main Ubuntu system. All of the information in memory will be written to the swap partition so the computer does not 'forget' what Feb 23, 2022 · System: Ubuntu 20. Ubuntu is not Windows with a separate Hibernation file that takes up additional space on your hard disk. You can use a swapfile, but method is a little different than with swap partition: askubuntu. Jun 25, 2021 · The benefit of suspend is that it can be resumed very quickly if you are always using your laptop. It must fully fit in one swap partition or one swap file. This is true for at least Quantal, Precise and Lucid so I guess its true for current supported versions too. However, hibernate and Ubuntu do not work on all hardware. I checked using Gparted Partition Editor then for /dev/sda7 the file system becomes unknown. May 23, 2015 · I've just installed Ubuntu 15. Should be no real need to tinker. May 19, 2021 · #/bin/bash # Ekimia. Aug 11, 2009 · You probably have two ways here, Consider a swap-file instead of a swap-partition. Now how do i map the installations and swap partitions so that none override each other. 04 LTS & Lubuntu impish; I can’t hibernate one & switch to the other of course with a shared swap partition, but it saves space over having a swapfile for each OS. they do not allocate swap partition by default. So that's also the answer to your question: you can't use hibernation without swap on linux. 3. May 1, 2022 · Stack Exchange Network. Feb 11, 2016 · However, you can get around the 4 partition limit by creating an extended partition, and then creating a swap partition and a default partition (these "sub" partitions appear under the extended partition and are called "logical" partitions). Feb 15, 2019 · Somehow I could install Ubuntu 18. Configure the initramfs. The swap partition serves a couple of purposes. But /dev/sda is an SSD so I'd like to avoid writing there every time I hibernate my computer to increase its The swap partition serves a couple of purposes. This example I would like to set up disk encryption on Ubuntu 13. There is one more common problem. e. That’s why the swap partition must be more than or equal to RAM. If you don't have specific needs, I think that you can keep root and home in the same partition. Source: How To Enable Hibernation On Ubuntu (When Using A Swap File) May 6, 2016 · If that fails, begin troubleshooting: in the hibernate state (HTD or ACPI S4) the machine state is written to disk so that no power is needed to preserve it. When the computer is turned on from a previous hibernation, the encrypted swap partition is unlocked, and the system resumes from there. Aug 24, 2021 · This article explains how to enable hibernation using systemd on recent Ubuntu releases when using a swap file (which is default for Ubuntu Aug 9, 2018 · If you do decide to delete the swap partition, first of all boot with a Ubuntu LiveCD, and go try without installing. Nov 8, 2017 · In simple terms, the swap partition or swap file is used when your installed memory is full and instead of the computer crashing it will place some of its memory in the swap partition. 04 there should be no disadvantages of using a swap file instead of partition? Oct 24, 2020 · I looked at a website explaining swap and one which has hibernation into swap file described. Details on swap partitions, resume, polkit, and xsecurelock. Use a swap file rather than swap partition for improved performance. I verified this on fresh Ubuntu 18. However, if you change your set-up and start using 2 swap files instead of just one swap partition, you can fool the system to swap to HDD instead of SSD just prior to You can make use of gparted to increase the size of swap partition from the current 15GB to 30 GB. See full list on ubuntuhandbook. Enabling hibernation on swap partition. I used to have a swap partition of 20G and know how to hibernate with swap partition. conf. Jul 27, 2022 · How do I add or modify a swap partition? Process to Increase Size of Swap Partition and use it for Hibernation. –. Prerequisites To follow this guide without the need to search for other references, the Sep 18, 2016 · I have parallel installations of ubuntu and elementary os. I want to disable this behavior and use the swap for hibernating Aug 20, 2023 · This tutorial explains how to encrypt a partition and use it as swap space with support for hibernation (suspend and resume) on Linux distros such as Ubuntu, Debian, Manjaro, and Arch Linux amongst others. You can release some space from /home - make around 15 GB from that and add into your swap. Recently I found the machine was going into standby rather than hibernate, and upon investigation it turned out there was not enough space in the swap partition for hibernation to take place. 04: Increase swapfile size to match RAM size up to 8GB. I tried already creating a SWAP-file and hibernate with it, but that did not work. Since I'm installing Ubuntu for the first time ever (please don't shoot) i have no idea how large the swap partition should be. plain / encrypted /home partition; encrypted swap partition; working hibernation and resume; As these requirements suggest, this is to protect me from a potential laptop thief reading my personal data. 04 (fully updated). The hibernation implementation currently used in Ubuntu, swsusp, needs a swap or suspend partition. Oct 28, 2019 · However I found out I required swap in order to use hibernate on a laptop, so I created a swap partition and hibernate has been working fine. Add "# " before the UUID of the swap partition(s): # UUID=XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX none swap sw 0 0 Feb 20, 2015 · If all programs are running then Hibernate is working properly. Note on speed SSDs are best at quickly accessing and reading many small files and are superior to conventional hard drives for transferring data from sequentially-read small or medium-sized files. Of course, change the XY to the correct settings for the system. You need to run the gksudo gedit /etc/fstab command and add a line like this: /dev/sdXY swap swap defaults 0 0. Check if Ubuntu Hibernation can be enabled. 04 using Swapfile: Increase swapfile size to match RAM size up to 8GB. # create an big empty 1GB file (or whatever size you like) dd if=/dev/zero of=/swapfile bs=1M count=1024 # format the file as swap mkswap Jul 5, 2023 · Nowadays, at least in recent Ubuntu versions, there's not need to create a swap partition if you aren't going to use the Hibernation Mode. Swap file will try to write quite a bunch of data so it will slow down the computer and kill my USB faster. In contrast, if you want to save battery life, Hibernate is a better choice. To find swap offset on Ubuntu 22. Notably, Linux can use either a swap partition or a swap file for this type of memory when real memory is full. A separate swap partition is no longer recommended for most new Desktop users. The size of the swap partition depends on how much RAM your laptop has. Needless to say it failed, in the sense that the screen went dark for a few seconds and then Aug 14, 2023 · Once you have those prerequisites, you can proceed with the steps below to enable hibernation on your Ubuntu machine. 5GB of swap for 3GB of RAM; Ubuntu has an entirely different perspective on the swap size as it takes hibernation into consideration. Aug 4, 2020 · But in hibernation, the ram content is stored in the swap space, so power can be completely cut off. Jun 5, 2020 · To prevent any data from being left in the host computer's swap partitions, a swap file should be used or swap should at least be turned off before exiting: sudo swapoff -a. You can then have 58GB for the system partition and 2 gb for the swap partition. 04 (following this tutorial) but I'm confused about what my system tells me about the current swap configuration so I'm hesitant to just change it without knowing what I do. Source: How To Enable Hibernation On Ubuntu (When Using A Swap File) Sep 2, 2013 · If you don't want to use a swap partition, you can use a swap file: a filesystem image stored on a regular file and used as your swap space. Swap files avoid fragmentation slowdowns. My understanding is you will need to create a swap partition for hibernate. Jan 1, 2021 · If your "hibernate" wants to power off the memory, you'll have to use a swap file or swap partition, so the system can unhibernate from somewhere. Hence it is recommended to have swap size as large as the ram size. No permanent physical storage = no hibernation. Although it also can work on a swap file, the swap file must be contiguous and the offsets indicating the physical location of the file must be specified, so setup is more complex. This will be an option when you create your partitions in the installer. So while doing some research on the difference I came to the conclusion, that for Ubuntu 20. As I would like to use hibernation while having only to type my password once at startup, my question thus is whether it be possible to: Aug 27, 2018 · Currently I have laptop with 16GB of RAM and 512GB SSD. I want to disable this behavior and use the swap for hibernating Mar 3, 2024 · Ubuntu installation does not make a swap partition any more. Boot to Ubuntu install CD and choose the option to run Ubuntu now Jun 16, 2011 · Hibernation (suspend-to-disk) The hibernation feature (suspend-to-disk) writes out the contents of RAM to the swap partition before turning off the machine. Check the swap that is in use: sudo swapon -s If swap partition(s) are found: sudo swapoff -a sudo nano -Bw /etc/fstab Add # before the UUID of the swap partition(s): # UUID=XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX none swap sw 0 0 Feb 2, 2024 · The Following command is used to get the UUID ( Universal Unique Identifier ) of the Linux swap partition configured on your Ubuntu system. To encrypt SWAP, see Encrypted swap partition on Ubuntu. I have 16GB RAM. On a Linux system, there is a particular space in your hard disk called the swap area. This means that without a swap partition, hibernation on Linux is impossible. Locate your swap area using the following command: swapon --show. As I told you above hibernate saves all your RAM data to the swap partition that you configured when you installed Ubuntu. Source:C. 04 using systemd. It suggests swap size to be: Twice the size of RAM if RAM is less than 2 GB; Size of RAM + 2 GB if RAM size is more than 2 GB i. org Use a swap file rather than swap partition for improved performance. 04 on a machine with 16G RAM and 1T SSD. But today I found out that my swap partition was too small. 10 without creating any SWAP partition nor I seem to have a SWAP file. Disk speed impacts hibernate resume time. You actually don't have to have swap partition, but it is recommended in case you do use up that much memory in normal operation. That is, should your computer run out of RAM, it will use the swap area as a temporary source of more memory. target is non-functional, similar to After=shutdown. To change the size of this swap file: Since you have 16GB of RAM, there is no need for a 'swap' partition. Make sure you are backing up your important data while doing that. I always use "full encrypted disk" option in installation creator which automatically create 16GB swap partition. 04: Run sudo filefrag -v /swapfile; In the "physical_offset" column, copy the first row number (without dots!). Copy the UUID for the swap space (/dev/nvme0n1p1 in my case). com/questions/1290326/…. Do not assume it will work on other versions or distributions. Ensure your swap is on an SSD or fast disk rather than a slow HDD. And also note that, You may never need a swap partition, unless you use "Hibernation" feature or use many more applications at a time. Please help in resolving this. *I have a swap partition that is shared between Lubuntu 20. Extra Reading:Swap encryption, and Ubuntu - How to encrypt swap partition. The swap file is named swapfile. On the one hand, I know that people recommend "double the ram unless it makes swap larger than 2GB", but I also know that to hibernate I need swap=ram I have 4GB of ram. Jan 29, 2016 · Can I somehow set Ubuntu to use the first swap partion in /dev/sdb and only if not available (or full), use the swap partition on /dev/sda? /dev/sdb is not always mounted so it is necessary to have a swap partition also on /dev/sda. May 23, 2013 · Now I want to use the swap partition only for hibernating (not for swapping memory) because the SSD don't like the type of usage required for a memory. I can't use stanby 'cause battery is dead. Failing to recover from hibernate. So it may not work even if you create a swap partition. However, I am not sure how well hibernating to a swap file works nowadays. It serves as 'backup' RAM. First, find the swap file, disable and delete it. In the not so far past, only hibernation to swap partitions was supported. The swap partition is also used during hibernation. Apr 26, 2024 · 2. Everything happens successfully including sudo pm-hibernate But when I restart my system after Hibernate its not able to load my swap partition. The following articles explain how to do it in detail: Linux Add a Swap File – Howto; How to use hibernation without a swap partition (this also uses a swap file) May 3, 2020 · Some folks prefer a separate /home partition, others don't. Whatever you do, I think a swapoff and swapon after the resume would be useful. To change the size of this swap file: I'm trying to enable hibernation on my laptop, a Dell XPS-13 (with a 256 GB SSD mounted as an encrypted volume). I want to be able to hibernate both of them so I created 2 swap partitions. System itself will deal with RAM/swap usage. But given the incredibly fast boot time of Ubuntu when booting from SSD a wake up from hibernation may be slower than a reboot. First, create a swap file: fallocate -l 256m /swap mkswap /swap chmod 600 /swap "256" refers to the size in MBs ('m' after it). Q: Can I use swap partition & swapfile? Yes you can. Even if you don't, it is recommended, because a separate swap partition provides at least equal and often better performance than a swap file inside another file system. Re-disable swap on the hibernation partition on resume. For more information on the need or not fro swap, see Ubuntu Swap Faq, or Swap Requirements Apr 15, 2022 · Just put a Lubuntu 20. In this tutorial, we’ll compare swap partitions to swap files for performance. The state is written either to a swap partition or to a swap file. Therefore, your swap partition should be at least as big as your RAM size. It has also been tested to work to set up encrypted swap without hibernate on Linux Mint 20 (based on Ubuntu 20. target and After=sleep. Jan 25, 2018 · CentOS has a different recommendation for the swap partition size. From Ubuntu 18. So, my point is that you of course can live without swap and enable it only for hibernation, but only if you're sure that 99. Set this for at least half the size of your RAM. conf) which for me would be ultimate goal Jul 8, 2018 · UPD: Now I have found an even better solution - use swap file. 04 on my old HP G7000 Laptop. That seems excessive, even counter-productive, but perhaps the Ubuntu installer chose that since the machine has 128GB of RAM. "/swap" is a location of your swap file. You don't need to have a full partition dedicated to swap, and you don't need to re-partition. Oct 20, 2020 · To enable Hibernation in 20. Source: How To Enable Hibernation On Ubuntu (When Using A Swap File) haven't tested it but if your swap partition is big enough, you can skip step 6 where you check for the offset of the swap file, and you don't have to add the resume_offset argument to the GRUB_CMDLINE_LINUX_DEFAULT list. Had a Q4OS based on Debian 11. Whether by label or by UUID, the swap partition is referred to with a udev device node, so the resume hook must go after the udev hook. Creating the swap partition ; Activating the swap partition ; Making the new swap partition work for hibernate (optional) Creating the swap partition. Copy these UUID Because , we’re gonna need it in the Next Step. 04 LTS: Step-by-Step Step 1: Check the Current Swap and Memory Size. 5 # install Jun 16, 2016 · Sometimes the system would crash and I didn't know why. Swap Usage Now you should be back in your main Ubuntu system. I can hibernate my computer, but after I restorer the system from hibernation it is using the swap partition for swapping memory. When using a busybox-based initramfs, which is the default, the resume hook is required in /etc/mkinitcpio. With small RAM amounts, swap partition is crucial! In this situation, swap is needed so that the system has a 'place to go' once the RAM is filled up. May 4, 2023 · I'm trying to enable hibernation on Ubuntu 22. More specifically, it will 'swap' unused items from the RAM into the swap area in order to leave spare space for the applications that need it Jun 27, 2013 · The swap partition can hold a lot of unencrypted confidential information and the fact that it persists after shutting down the computer can be a problem. The resulting line printed shows attributes of the active Linux swap partition, including the UUID unique identifier. I wonder if I still could get hibernation to work, without having both of them. This is optional, since after installed Ubuntu, you can manually add a swap file instead. Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers. It’s also easier to set up a new swap file from scratch or extend your swap on different volumes (adding a second swap file, a third one, and so on). If You Use Hibernation, You Need Swap A swap partition on your SSD will let you wake up faster from hibernation (aka "suspend to disk") as compared to swap on a hard drive. Basically, as soon as ive installed ubuntu, using the automatic partitioning, if i run gparted and look at my disk partitions, my swap space is displayed as unknown, with an exclamation mark next to it: Ok, next step, i manually assign the 'unknown' section to be a swap partition, and attempt to hibernate. 04 LTS), so it is likely that these instructions will also work with other versions of Ubuntu. If you need Aug 9, 2018 · If you do decide to delete the swap partition, first of all boot with a Ubuntu LiveCD, and go try without installing. 04, a separate swap partition in most Desktops has been superseded by a swap file within the root (/) partition. . As you mentioned, if you don't create a swap partition, Ubuntu will use a swap file that will works (as far I know) just like a swap partition. But I found the partition never used in normal time. If swap partition(s) found: sudo swapoff -a. 04. To replace a swap partition with a swap file on a bootable USB: Check the swap that is in use: sudo swapon -s. I am using ubuntu 20. 04 desktop install too as they both use swap file by default i. How to Enable Hibernate on Ubuntu 22. Jun 5, 2023 · 4. As mentioned in the same above linked github issue (Failed to hibernate system via logind: Not enough swap space for hibernation · Issue #15354 · systemd/systemd · GitHub), there isn’t a wakeup. If you have 4GB of RAM, a 2GB swap partition should be enough. Brüffer Feb 16, 2015 · It is necessary that you create a swap partition for Linux, if you intent to use suspend-to-disk, also known as hibernation. Moreover whatever changes you are trying to do make sure that the partition is unmounted. Nov 7, 2020 · To enable Hibernation in 20. 04 echo "WARNING : hibernate might fail on your machine if not officially supported , use with caution , press a key" read start echo " starting enabling hibernate " #CHange this value to size the swapfile X times your ram swapfilefactor=1. Also, the 'swap should be 1-2 times the RAM' rule is only valid for systems having less RAM, ie < 2GB. Add this to Dec 9, 2020 · This procedure was tested on Ubuntu 12. You can check these interesting question about swap size. 10 such that I have. 04 there should be no disadvantages of using a swap file instead of partition? The Installer should create a swap partition automatically. It can be located on any partition (root or home, for example). qchmy lbtbjnd cpkcd pcsqkyng zbjpk uehre xth nbigdfp cqaf hhn