Name | Modified | Size | Downloads / Week |
---|---|---|---|
Parent folder | |||
netatalk-1.3.3.tar.gz | 2024-02-05 | 218.6 kB | |
netatalk-1.3.3.tar.Z | 2024-02-05 | 365.4 kB | |
ntimelord-1.0.tar.gz | 2024-02-05 | 4.0 kB | |
ntimelord-1.0.tar.Z | 2024-02-05 | 7.0 kB | |
netatalk-1.4b2+asun2.1.1.x86-shadow-linux.tar.gz | 2024-01-16 | 754.9 kB | |
netatalk-1.4b2+asun2.1.3.tar.gz | 2024-01-16 | 338.4 kB | |
Netatalk-HOWTO.gz | 2024-01-16 | 4.8 kB | |
netatalk-1.4b2+asun2.1.3-6.i386.rpm | 2024-01-16 | 221.6 kB | |
netatalk-1.4b2.tar.gz | 2024-01-16 | 262.9 kB | |
atalk-sysv.tar.gz | 2024-01-16 | 1.2 kB | |
netatalk-1.4b2+asun2.1.1.x86-nonshadow-linux.tar.gz | 2024-01-16 | 755.1 kB | |
netatalk-1.4b2+asun2.1.3-6.src.rpm | 2024-01-16 | 355.6 kB | |
netatalk-devel-1.4b2+asun2.1.0-5.i386.rpm | 2024-01-16 | 66.5 kB | |
netatalk-devel-1.4b2+asun2.1.3-6.i386.rpm | 2024-01-16 | 73.5 kB | |
nu.txt | 2024-01-16 | 532 Bytes | |
papfix.README.txt | 2024-01-16 | 1.8 kB | |
papfix.tar.gz | 2024-01-16 | 2.6 kB | |
pre-asun2.1.0-10a.tar.gz | 2024-01-16 | 299.2 kB | |
Totals: 18 Items | 3.7 MB | 0 |
README file for pap source patches. Bob Badaracco rjb@typeline.com Mon Mar 13 10:39:11 EST 2000 Since using Netatalk as far back as I can remember, I was always unhappy with the performance of the pap download code for spooling large print files to my laser printer. Having had some experience with pap during my early years as a Mac programmer, I decided to investigate and try to improve performance. THE PROBLEM Within the original send_file() function of the pap code there is an atp call that sends a request for printer status within the loop that actually does the download. This status-request--wait-for-response logic was written to run synchronously in the original design meaning that each PAP_DATA request had to wait for each previous status request to complete. This approach clearly impedes overall performance. MY SOLUTION My goal was to make the status-request--wait-for-response logic run asynchronously, and independent of the PAP_DATA request/response cycle. To do this, I put the status requests in a separate thread that would run for the duration of the print job. As a result, the pap code with or without the -s option runs much faster than it did before. TO INSTALL PATCHES (Note: you will have to have root privileges to install and rebuild the pap source) 1. To be safe, backup the original pap source directory and it's contents. On my machine it's /usr/ports/net/netatalk-asun/work/netatalk-1.4b2+asun2.1.3/bin/pap 2. 'cd' to the original pap source directory 3. Copy the gzipped tar (papfix.tar.gz ) file into the original pap source directory 3. Unpack the archive. Type 'tar xvfz papfix.tar.gz' 4. Type './papfix.sh' to install patches 5. Type 'make clean' and then 'make install' to install patched pap executible.