<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://ehwiki.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Runareo</id>
	<title>EHWiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://ehwiki.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Runareo"/>
	<link rel="alternate" type="text/html" href="https://ehwiki.org/wiki/Special:Contributions/Runareo"/>
	<updated>2026-04-12T12:28:12Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.8</generator>
	<entry>
		<id>https://ehwiki.org/index.php?title=Hentai@Home&amp;diff=36539</id>
		<title>Hentai@Home</title>
		<link rel="alternate" type="text/html" href="https://ehwiki.org/index.php?title=Hentai@Home&amp;diff=36539"/>
		<updated>2016-08-24T11:52:05Z</updated>

		<summary type="html">&lt;p&gt;Runareo: typo&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Hentai@Home (H@H) is a Peer-2-Peer gallery distribution system which reduces the load on the [[E-Hentai Galleries]]. Current version: [https://forums.e-hentai.org/index.php?s=&amp;amp;showtopic=185743 1.2.6].&lt;br /&gt;
&lt;br /&gt;
[[Image:H@H Client.png|thumb|The client UI.]]&lt;br /&gt;
&lt;br /&gt;
==General Information==&lt;br /&gt;
H@H is a project that can be compared to a cross between the [https://setiathome.ssl.berkeley.edu/ SETI@home] project and [https://en.wikipedia.org/wiki/BitTorrent_(protocol) BitTorrent].&lt;br /&gt;
&lt;br /&gt;
All participating users run a small Java-based client that downloads files from the main E-Hentai servers to their computer and passes those files on to people who browse the [[E-Hentai Galleries]]. This allows E-Hentai to serve many more images using less server bandwidth.&lt;br /&gt;
&lt;br /&gt;
The client may be run freely for any duration of time but it is recommended to run it continuously for as long as possible for maximum [[#Rewards|rewards]].&lt;br /&gt;
&lt;br /&gt;
==Signing Up==&lt;br /&gt;
[[Image:H@H Application.png|thumb|The H@H application form.]]&lt;br /&gt;
&amp;lt;div id=&amp;quot;Requirements&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;div id=&amp;quot;requirements&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;div id=&amp;quot;Requirement&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;div id=&amp;quot;requirement&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
===Minimum Requirements===&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!Requirement&lt;br /&gt;
!Notes&lt;br /&gt;
|-&lt;br /&gt;
|[http://www.oracle.com/technetwork/java/javase/downloads/jre8-downloads-2133155.html Java Runtime Environment]&lt;br /&gt;
|&lt;br /&gt;
*Any version higher than 5 is acceptable.&lt;br /&gt;
*Java SDKs are also usable.&lt;br /&gt;
|-&lt;br /&gt;
|3+ Mbit/s burst upload speed&lt;br /&gt;
|&lt;br /&gt;
*A.K.A. 375 Kbytes/s&lt;br /&gt;
*This requirement varies from region to region.&lt;br /&gt;
|-&lt;br /&gt;
|100 MB/hour bandwidth&lt;br /&gt;
|Users may limit how much bandwidth is used per hour if they have a bandwidth cap.&lt;br /&gt;
|-&lt;br /&gt;
|2+ GB of hard drive space&lt;br /&gt;
|SSDs are ideal; write endurance is not an issue.&lt;br /&gt;
|-&lt;br /&gt;
|[http://portforward.com/ An open TCP port]&lt;br /&gt;
|&lt;br /&gt;
*Must be between 1024 and 65534; 80 can be used but may cause some issues.&lt;br /&gt;
*[[Technical_Issues#Ports|Certain ones are not permitted]].&lt;br /&gt;
|-&lt;br /&gt;
|A unique IPv4 IP address&lt;br /&gt;
|1 needed per every operational client.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Obtaining Client Keys===&lt;br /&gt;
Users who are signing up for their first client simply go to the [[My_Home#Hentai.40Home | Hentai@Home page]] in their [[My Home]] area. A flash interface will appear where users may fill in their qualifications. Applications typically take a few days to process.&lt;br /&gt;
&lt;br /&gt;
To sign up for any additional clients, please [https://forums.e-hentai.org/index.php?act=Msg&amp;amp;CODE=4&amp;amp;MID=6 PM Tenboro]. For users wishing to run more than five clients the average quality of their existing clients must be stable above 7,000 before more keys can be assigned.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div id=&amp;quot;Installation&amp;quot;&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Installation Guides==&lt;br /&gt;
*[https://forums.e-hentai.org/index.php?showtopic=19795 Windows]&lt;br /&gt;
*[https://forums.e-hentai.org/index.php?showtopic=100453 FreeBSD with Jails]&lt;br /&gt;
*[https://forums.e-hentai.org/index.php?s=&amp;amp;showtopic=19795&amp;amp;view=findpost&amp;amp;p=797807 Linux]&lt;br /&gt;
**[[Installing H@H on Ubuntu|Ubuntu]]&lt;br /&gt;
**[[Installing H@H on Debian|Debian]]&lt;br /&gt;
**[https://forums.e-hentai.org/index.php?showtopic=69880 Debian on Raspberry Pi]&lt;br /&gt;
**[https://forums.e-hentai.org/index.php?showtopic=69887 Solaris]&lt;br /&gt;
*[https://forums.e-hentai.org/index.php?showtopic=97809 Rented Server]&lt;br /&gt;
*[https://forums.e-hentai.org/index.php?showtopic=132751 Python Client]&lt;br /&gt;
&lt;br /&gt;
==Limits==&lt;br /&gt;
A client&#039;s maximum burst speed will determine:&lt;br /&gt;
*The maximum number of connections that can be had simultaneously (up to 500).&lt;br /&gt;
&amp;lt;pre&amp;lt;includeonly&amp;gt;&amp;lt;/includeonly&amp;gt; style=&amp;quot;overflow: auto;{{{style|}}}&amp;quot;&amp;gt;&#039;&#039;&#039;Maximum Connections&#039;&#039;&#039; = 20 + max_burst_speed / 10000&amp;lt;/pre&amp;gt;&lt;br /&gt;
*The maximum disk cache size (in GBs).&lt;br /&gt;
&amp;lt;pre&amp;lt;includeonly&amp;gt;&amp;lt;/includeonly&amp;gt; style=&amp;quot;overflow: auto;{{{style|}}}&amp;quot;&amp;gt;&#039;&#039;&#039;Cache Size&#039;&#039;&#039; = max_burst_speed / 10&amp;lt;/pre&amp;gt;&lt;br /&gt;
*Having static ranges assigned allows a client to exceed this maximum.&lt;br /&gt;
&lt;br /&gt;
===Speed Test===&lt;br /&gt;
When the H@H client starts it contacts one of the H@H control servers which tests the connection of the client in order to check if it can upload data at the configured maximum burst speed. If it cannot the maximum burst speed is reduced internally to the measured upload speed in order to prevent the connection from being overloaded. &lt;br /&gt;
&lt;br /&gt;
It is possible for the measured upload speed to be significantly lower than real upload speed of the Internet connection. In such a case the H@H client will be underused and its owner can request a speed test override from [https://forums.e-hentai.org/index.php?act=Msg&amp;amp;CODE=4&amp;amp;MID=6 Tenboro] by sending proof (e.g. a screenshot of their [http://speedtest.net SpeedTest]&#039;s results).&lt;br /&gt;
&lt;br /&gt;
==Activity==&lt;br /&gt;
An H@H client needs to maintain a [[#Trust|Trust]] of 0, [[#Quality|Quality]] of 2,500, a cache of 2 GB, and max tested speed of 80 KB/s. Failure to reach any of these requirements will make it idle on the network and wait until the requirements are reached.&lt;br /&gt;
&lt;br /&gt;
==Scheduler==&lt;br /&gt;
Each client can be scheduled to use less than its maximum burst speed and bandwidth. These can be based on particular days but are limited to using precise times (every hour on the hour). Schedules are read and cached at the start of each hour so changes won&#039;t apply until the start of next hour.&lt;br /&gt;
&lt;br /&gt;
==Software==&lt;br /&gt;
A few command line switches may be given to the H@H application in order to change some of its behaviors:&lt;br /&gt;
:--disable_bwm&lt;br /&gt;
::Disables the bandwidth monitor which is the part that makes sure the H@H application does not use more upload speed than the value of the &amp;quot;Maximum Burst Speed&amp;quot; parameter. When the bandwidth monitor is disabled, the H@H dispatcher will still respect the &amp;quot;Maximum Burst Speed&amp;quot; parameter so that the &amp;lt;u&amp;gt;mean&amp;lt;/u&amp;gt; upload speed of the H@H application won&#039;t exceed the value of that parameter. However, the H@H application might use as much upload speed as the Internet connection on which it runs can provide in order to send image files, which generally results in upload peaks.&lt;br /&gt;
::In some cases, the bandwidth monitor is unable to use the whole maximum upload speed that has been set, which can result in an under-utilization of the H@H application upload speed (and might trigger false overload notifications). In such cases, it is better to disable the bandwidth monitor in order for the H@H application to give better performances.&lt;br /&gt;
:--disable_logging (This can also be set from your client&#039;s settings page)&lt;br /&gt;
::Disables the writing of log entries in the &#039;&#039;log_out&#039;&#039; file. Enabling this switch might increase the performance of the application by reducing its I/O usage.&lt;br /&gt;
:--force_dirty&lt;br /&gt;
::Forces a check of the database for errors (as if the database was dirty).&lt;br /&gt;
:--max_connections=&#039;&#039;conn&#039;&#039;&lt;br /&gt;
::Sets the maximum number of connections the application can handle to &#039;&#039;conn&#039;&#039;. The default maximum number of connections depends on the max burst speed parameter, and is computed as detailed above. In some rare circumstances the default value is too low and the maximum number of connections needs to be increased slightly in order to avoid triggering false overload notifications. Setting this value to a too high limit might have severe consequences on a client&#039;s performance, and impact the whole H@H network badly. &#039;&#039;&#039;DO NOT CHANGE THIS VALUE UNLESS YOU ABSOLUTELY KNOW WHAT YOU ARE DOING&#039;&#039;&#039;!&lt;br /&gt;
:--port&lt;br /&gt;
::Overrides the port set in the [http://g.e-hentai.org/hentaiathome.php client&#039;s settings].  This allows running H@H on port 80 on Linux as a non-priviledged user.  This can be achieved by adding the following rules to iptables:&lt;br /&gt;
&amp;lt;pre&amp;lt;includeonly&amp;gt;&amp;lt;/includeonly&amp;gt; style=&amp;quot;overflow: auto;{{{style|}}}&amp;quot;&amp;gt;iptables -A INPUT -p tcp --dport 80 -j ACCEPT&lt;br /&gt;
iptables -A INPUT -p tcp --dport 7777 -j ACCEPT&lt;br /&gt;
iptables -A PREROUTING -t nat -i eth0 -p tcp --dport 80 -j REDIRECT --to-port 7777&amp;lt;/pre&amp;gt;&lt;br /&gt;
:--silentstart&lt;br /&gt;
::Starts the UI in minimized mode (tray icon).&lt;br /&gt;
:--skip_free_space_check&lt;br /&gt;
::Disables the free space check so that the application won&#039;t err if the space left on the partition that contains the &#039;&#039;cache&#039;&#039; folder is less than the configured parameter (or 100MB if that parameter is set to a value less than 100MB).&lt;br /&gt;
:--&amp;lt;s&amp;gt;use_more_memory&amp;lt;/s&amp;gt; (Depreciated; H@H now uses more memory by default, but this can be disabled through your client&#039;s settings page)&lt;br /&gt;
::Allows the application to use more memory in order to increase its performances (by reducing the number of I/O operations). More specifically, the application will use more memory when building the cached files list, sending the file&#039;s content, and it will use a memory cache in order to reduce the number of times the files&#039; access timestamps are updated in the database.&lt;br /&gt;
:--verify_cache (This check can also be ordered from your client&#039;s settings page)&lt;br /&gt;
::Forces a check of the entire cache. This is the same as --force_dirty, except that the content of each file in the cache is also checked (which can take a lot of time).&lt;br /&gt;
:-Xmx&#039;&#039;mem&#039;&#039;m&lt;br /&gt;
::Limits the use of memory to &#039;&#039;mem&#039;&#039; (in MB).&lt;br /&gt;
&lt;br /&gt;
==Cache==&lt;br /&gt;
The system will fill a client&#039;s cache with in-demand files and will delete least recently used files once it fills up to the set capacity. It is important for users not to manually tamper with any files in the cache as this will cause major [[#Trust|trust]] and cache database issues for the client. Corrupted files will be deleted and replaced if requested although the client will lose some trust.&lt;br /&gt;
&lt;br /&gt;
===Static Ranges===&lt;br /&gt;
Clients have static ranges of content (~175 MB each, or 1/65536th of the site&#039;s &amp;quot;active&amp;quot; content) assigned to them. The server will always assume that the client is able to serve files from that range without tracking the files individually. If a ranged file isn&#039;t currently cached the client will proxy-request it from the image servers on-demand and store it for later use.&lt;br /&gt;
&lt;br /&gt;
Clients that have started for the first time are assigned 5 ranges. From there up to 48 new ranges can be assigned every day (assuming good performance and available capacity). The ranged files will stay in the client&#039;s cache for 90 days after they were last requested. A client may have up to 5,000 ranges total.&lt;br /&gt;
&lt;br /&gt;
==Trust==&lt;br /&gt;
Trust indicates how well the client is performing according to other clients. Trust gradually rises by 1-4 per minute if the client is behaving normally, even if it is not serving files. Negative trust often occurs from improper shutdowns or bad connections. Trust caps at +1000.&lt;br /&gt;
&lt;br /&gt;
==Quality==&lt;br /&gt;
Quality measures the long-term overall stability and reliability of a client up to a value 10,000. It prioritizes clients  for file requests (along with raw speed and proximity factors).&lt;br /&gt;
*New clients and clients that have been unused for several days will start out with 0 quality; it can take several days for it to stabilize at the baseline value.&lt;br /&gt;
*What constitutes a decent quality rating varies between geographical regions.&lt;br /&gt;
*Clients that perform below 5,000 will have their [[static range]] factor for [[hath]] calculation reduced.&lt;br /&gt;
&lt;br /&gt;
==[[Rewards]]==&lt;br /&gt;
Users receive 1 [[GP]] for each hit on their client, as well as be able to compete for a position on the [[Toplists#Hentai.40Home_Toplists|H@H toplist]].&lt;br /&gt;
&lt;br /&gt;
The currency known as [[Hath]] is also be generated ([https://forums.e-hentai.org/index.php?showtopic=96725&amp;amp;st=20&amp;amp;p=2261063&amp;amp;#entry2261063 internally calculated roughly every minute]), which can be used to purchase [[Hath Perks]]. The minimum speed required to earn hath is 40 KB/s. The amount that can be earned per day per client is based on average hit/minute (calculated over a week) and [[static range]]s.&lt;br /&gt;
&lt;br /&gt;
===Free [[Archives]]===&lt;br /&gt;
Each client that runs for &amp;gt;24 hours and has a hitrate of 1+ earns a quota of 1 GB/day in free [[archive]] downloads. An additional +10 MB/day is earned per adjusted average hit.&lt;br /&gt;
*This quota is measured over a 7-day sliding window.&lt;br /&gt;
*Recreated archives do not qualify.&lt;br /&gt;
*The amount a user has earned can be found in their H@H client list page at the bottom of the &amp;quot;Your Active Clients&amp;quot; section.&lt;br /&gt;
*The quota is disabled when a client is suspended or shut down for up to 1 hour, and is re-enabled when a client comes back online.&lt;br /&gt;
&lt;br /&gt;
===H@H Image Proxy===&lt;br /&gt;
To use H@H as a proxy for the [[galleries]], users simply need to enable it through their [[My_Home#My_Settings|My Settings]] page. This enables any images viewed in galleries to be loaded through the H@H client. As such, these images are added to the user&#039;s H@H cache, making them instantly (re)viewable as long as they remain cached.&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
*[[E-Hentai Galleries FAQ#Hentai.40Home|FAQ - Hentai@Home]]&lt;br /&gt;
*[[Technical_Issues#H.40H|Technical Issues - H@H]]&lt;br /&gt;
*[[Hath]]&lt;br /&gt;
*[[Downloading]]&lt;br /&gt;
*[[Renting A Seedbox]]&lt;br /&gt;
&lt;br /&gt;
==Forum Links==&lt;br /&gt;
*[https://forums.e-hentai.org/index.php?showtopic=19795 H@H FAQ topic]&lt;br /&gt;
*[https://forums.e-hentai.org/index.php?s=&amp;amp;showtopic=117291&amp;amp;view=findpost&amp;amp;p=2493908 How quality is measured]&lt;br /&gt;
*[https://forums.e-hentai.org/index.php?s=&amp;amp;showtopic=101296&amp;amp;view=findpost&amp;amp;p=2336526 Running H@H as a Service]&lt;br /&gt;
&lt;br /&gt;
{{Template:EHGNav}}&lt;br /&gt;
&lt;br /&gt;
[[Category:E-Hentai Galleries]][[Category:Site Features]]&lt;/div&gt;</summary>
		<author><name>Runareo</name></author>
	</entry>
</feed>