• June 15, 2024, 06:15:47 PM
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Advanced search  

News:

This Forum Beta is ONLY for registered owners of D-Link products in the USA for which we have created boards at this time.

Pages: 1 [2] 3

Author Topic: NAS gets very slow and unresponsive  (Read 22643 times)

Ryder

  • Level 3 Member
  • ***
  • Posts: 126
Re: NAS gets very slow and unresponsive
« Reply #15 on: December 02, 2009, 07:39:43 AM »

sholland,

peas had some good suggestions there, I'd investigate those avenues as well.

And since this seems to be a truly odd problem, you may want to try this too.

Are you plugging your 321 into the same port on the router all the time? if so, try a different port, preferably away from the one you currently use. There may be an issue with just one port on it, that has happened to me too many times to want to remember!

Also, you reported that the temp was 39C, first thing in the morning I'm assuming? Was that the temp of the drives, or the enclosure? You might want to try monitoring the temps of the drives and the enclosure after running for awhile, and especially after it starts to slow down. Also check to see if you can feel or hear the fan come on blow. Excess heat buildup after running for awhile can cause things to slow down dramatically sometimes.

There, now you have several things to try out for us. Please keep us posted as you have been, I am very curious to know what will eventually sort this very odd situation out for you.

Ryder
Logged
Must be time for bed,
The sun is coming up

sholland

  • Level 1 Member
  • *
  • Posts: 17
Re: NAS gets very slow and unresponsive
« Reply #16 on: December 02, 2009, 12:04:13 PM »

Thanks for the ideas.

I did check the network cable already, so failing the same problem effecting different cables, it's not that.

I'm going to be checking network traffic now, and going through and thoroughly looking at the two older XP systems. They do have virus scanners (Microsoft Security Essentials now, previous Norton AntiVirus 2005), but not sure as to all the details as to how they were set up.

I did download WireShark, but unfortunately nothing leaps out at me as being the problem - not that I'm sure I'd be able to tell or not!
Logged

JoeSchmuck

  • Level 3 Member
  • ***
  • Posts: 231
  • Retired Rocket Scientist
Re: NAS gets very slow and unresponsive
« Reply #17 on: December 04, 2009, 03:20:44 PM »

Sarah,
  I have two things for you, the first is questions, the second something which should be easy to try...

You said you have three computers, does that mean just connected to the DAP-1522 or three computers total on your network (includes wireless connectivity).  If you are using the wireless then another computer could be scanning, whatever to your NAS.  Also, is the DAP-1522 connected to the internet?  Right now I'm picturing three computers with ethernet cables feeding into the back of the DAP-1522 and one cable feeding to the NAS, all ports full.  This means no ethernet to connect to the internet or any other outside system unless you are using wireless.

I'm curious if your DAP-1522 has QOS settings and you may need to adjust or disable.

Test:
  One easy thing you could try is to replace the DAP-1522 with an ethernet switch or a different router (not the same model).  See if the problem goes away.  If you use a switch and the DAP-1522 was providing DHCP, then you would need to manually setup the IP addresses on each computer and possibly on the NAS depending on your setup.  I just don't see the need to troubleshoot network traffic since you only have three computers.

-Joe
Logged

sholland

  • Level 1 Member
  • *
  • Posts: 17
Re: NAS gets very slow and unresponsive
« Reply #18 on: December 07, 2009, 11:14:33 AM »

Joe,

I've been checking the DAP-1522 out, and not sure if it's a problem or not.

Firstly, though, the network situation. This is made more interesting by this being an older concrete building, and difficult to run cables into. The computer #1 (XP) is connected directly to the router. Computer #2 (XP) takes a more circuitous route - down to the basement, into the phone closet, through a  DLink DSH-5 hub, and then up to the router (only 2 connections to that hub). Computer #3 is mine, Win7, and connected to the DAP-1522 which is in my office. That's connected wirelessly to the router, and then currently my desktop, network printer in my office, and NAS are connected to that. Oops, there is a computer #4 at times, a wireless laptop, but hardly ever used.

The 1522 has QOS settings, which are not enabled.

At this point, I'm thinking seriously of getting a concrete drill and chipping through some walls myself to run actual physical cable - at the moment, if I look at the wireless connections on the router, I'm getting 81 mbps on that device:

IP Address   Mode   Rate (Mbps)   Signal (%)
192.168.0.50   802.11n (2.4GHz)   81   88

That's after going through numerous tips on the DAP-1522 forum to try and increase the speed of that device...

And the silly NAS still doesn't consistently work!

More DAP-1522 settings:
Wireless Radio :  Enabled
Status :  connected
Channel :  9
Security Type :  WPA2- Personal / Auto
Wi-Fi Protected Setup : Enabled / Configured 


Replacing the DAP-1522 with another switch or router wouldn't be that easy. At some point, I think I'll try to come in sometime after hours, and test to see what it's like with that shut down, and the NAS plugged into the router (which is where it was originally, plugged it in up here to help with my rebooting it).
Logged

JoeSchmuck

  • Level 3 Member
  • ***
  • Posts: 231
  • Retired Rocket Scientist
Re: NAS gets very slow and unresponsive
« Reply #19 on: December 07, 2009, 07:49:52 PM »

Sarah:
  I would take a hard look at your network configuration.  You might consider replacing your hub in the phone closet with a Linksys Pro Series Switch.  Cost is $65.00 and comes with a lifetime policy.  You should actually buy two of these and hook the second one up to the Router and your office computers up to the switch.  This would allow Gigabit speeds between the computers, if the computers have gigabit network interface that is.  I would also look in to the cabling between the computers and the hub in the phone closet, ensure they are Cat5e or Cat6 and are less than 300ft in length each.  Last, I would take one of those Linksys switches for a test drive and at the end of the day, connect it to you Windows 7 PC and NAS.  This means no DAP-1522 or other device.  Verify the NAS is working and go home.  In the morning if the NAS is not slow then connect the DAP-1522 to the switch.  This meants you have a PC, NAS, and DAP-1522 connected to the switch.  There is nothing connected to the DAP-1522 except the switch.  Test that out for the day.  AS long as the Windows 7 computer is using the NAS I think all will be fine.  If you use a remote computer (over the DAP-1522) and it becomes slow again, maybe it's the DAP-1522 or your wireless router.

If you can do this before knocking a hole in the wall, that's great but I've alway preferred hard wired connections whenever possible.

-Joe
Logged

sholland

  • Level 1 Member
  • *
  • Posts: 17
Re: NAS gets very slow and unresponsive
« Reply #20 on: December 21, 2009, 02:53:39 PM »

I'm still working on this issue, in my copious spare time.  ::)

Haven't been able to tackle any hardware changes, but I did install ZoneAlarm on both the XP computers on the LAN. If I set the firewall to prohibit them from accessing the LAN, then the DNS-321 happily keeps on working at a decent speed.

If, however, I configure ZoneAlarm to allow them network access, my DNS-321 plummets in speed.

I wrote a little VB program that copies a 25 meg file to a directory and then reports on the speed, and it will continue to do this for specified intervals (that way I can get some work done in the intervals). Here's a report from today:


12/21/2009 1:41:42 PM 11328 kb/s n:\transfer\test.avi
12/21/2009 1:43:42 PM 12081 kb/s n:\transfer\test.avi
12/21/2009 1:45:42 PM 11990 kb/s n:\transfer\test.avi
12/21/2009 1:47:42 PM 10880 kb/s n:\transfer\test.avi

turned off XP Machine zone alarm (allowed it to communicate with LAN)
12/21/2009 1:50:33 PM 12348 kb/s n:\transfer\test.avi
12/21/2009 1:53:49 PM 330 kb/s n:\transfer\test.avi
12/21/2009 1:55:11 PM 0 kb/s n:\transfer\test.avi
12/21/2009 1:58:03 PM 279 kb/s n:\transfer\test.avi
12/21/2009 2:00:53 PM 271 kb/s n:\transfer\test.avi
12/21/2009 2:02:49 PM 0 kb/s n:\transfer\test.avi
12/21/2009 2:04:10 PM 315 kb/s n:\transfer\test.avi
12/21/2009 2:07:12 PM 225 kb/s n:\transfer\test.avi
12/21/2009 2:08:23 PM 0 kb/s n:\transfer\test.avi
12/21/2009 2:08:31 PM 0 kb/s n:\transfer\test.avi
12/21/2009 2:10:36 PM 0 kb/s n:\transfer\test.avi
12/21/2009 2:12:39 PM 311 kb/s n:\transfer\test.avi
12/21/2009 2:15:10 PM 653 kb/s n:\transfer\test.avi
12/21/2009 2:17:21 PM 518 kb/s n:\transfer\test.avi

turned on zone alarm for XP machine again
12/21/2009 2:27:33 PM 445 kb/s n:\transfer\test.avi
12/21/2009 2:29:48 PM 355 kb/s n:\transfer\test.avi
12/21/2009 2:31:59 PM 0 kb/s n:\transfer\test.avi
12/21/2009 2:33:10 PM 754 kb/s n:\transfer\test.avi
12/21/2009 2:34:47 PM 0 kb/s n:\transfer\test.avi
12/21/2009 2:37:14 PM 662 kb/s n:\transfer\test.avi

reboot NAS
12/21/2009 2:47:50 PM 8555 kb/s n:\transfer\test.avi
12/21/2009 2:49:50 PM 9280 kb/s n:\transfer\test.avi
12/21/2009 2:51:50 PM 9438 kb/s n:\transfer\test.avi


This happens for BOTH the XP machines! I've run numerous virus and mal-ware checkers on both machines, but I can't seem to WHY turning these on would affect anything.

Is there any way I can monitor what's hitting the DNS-321? Any other suggestions (short of rebuilding both machines?)
Logged

JoeSchmuck

  • Level 3 Member
  • ***
  • Posts: 231
  • Retired Rocket Scientist
Re: NAS gets very slow and unresponsive
« Reply #21 on: December 22, 2009, 03:26:24 PM »

I don't know what else I could suggest but I wouldn't rebuild you machines, I doubt that would do anything.
Logged

gunrunnerjohn

  • Level 11 Member
  • *
  • Posts: 2717
Re: NAS gets very slow and unresponsive
« Reply #22 on: December 22, 2009, 03:46:58 PM »

Out of curiosity, what is the transfer speed between the machines?
Logged
Microsoft MVP - Windows Desktop Experience
Remember: Data you don't have two copies of is data you don't care about!
PS: RAID of any level is NOT a second copy.

Ryder

  • Level 3 Member
  • ***
  • Posts: 126
Re: NAS gets very slow and unresponsive
« Reply #23 on: December 23, 2009, 01:26:24 AM »

Out of curiosity, what is the transfer speed between the machines?

I had wondered the same thing GRJ, back when I thought this was a home network. And now that I know it's not, I still wonder. I'd like to see how the machines themselves do when you move a set file or group of files back and forth between PCs. And if you find one that seems a bit suspicious, then move those same files around continuously between them 8-10 times. A nice mix of files would be good too, say a total of  gig, but make one a 500 meg file, then 4x100 meg files and then 4x25 meg files. That should give everything involved a good bit of exercise and also show any problems, if there are any, with either small or large files too.

This problem is just so....weird! but, for every problem there is a solution, it's just a matter of finding it before ya strap 200 lbs of C-$ to the building to create those "holes in the wall" you had mentioned earlier sholland.  ;) ;)  :D
Logged
Must be time for bed,
The sun is coming up

sholland

  • Level 1 Member
  • *
  • Posts: 17
Re: NAS gets very slow and unresponsive
« Reply #24 on: December 23, 2009, 10:04:27 AM »

I've made some progress!

I went to both XP machines, and did two things - one was to remove this network key:
Quote
Disable Network Task Scheduler
(LAN Browsing Speedup)

This tweak disables searching networked computers for scheduled tasks. It reduces the long wait when opening network folders. To apply this tweak, find the following key:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\RemoteComputer\NameSpace\
and delete this key:
{D6277990-4C6A-11CF-8D87-00AA0060F5BF}

I also removed the microsoft network, file and print sharing, and QOS from each machine's LAN setup, rebooted, and then added it back (with the exception of QOS). Oh, and one machine was accessing the network half duplex, but both were 100 (I've now set them to connect full instead of auto).

And it worked! And worked for all the afternoon. I even uninstalled ZoneAlarm from one of the computers, instead of just diable it, and it still worked for hours. My NAS access time was about 12000 kb/s, consistently, and both XP machines could access the NAS.

I'm out of the office right now, but left my machine on, and the NAS. If I'd been thinking, I'd have left my file speed checker going for the NAS all night. I just logged in remotely, and now I can't access the NAS - I can ping it, but it seems to be the painfully slow issue again. I can see that the XP machines were turned on about an hour ago.

So I don't know - does this mean that the XP machines are causing problems again? Is it just an overnight problem? If I could reboot the NAS, would it work during the day? I can't remotely reboot the NAS, at this point, to check - hmm, maybe I'll email the receptionist and have her unplug it and plug it back in.

Transfer speed is nothing to write home about, and something else I need to address, but they can all access each other peer to peer without being painfully slow. I'd have to get the speeds.

One thing - while it isn't a home network, it's not a high-end work network, if you get my meaning. ;)
Logged

Ryder

  • Level 3 Member
  • ***
  • Posts: 126
Re: NAS gets very slow and unresponsive
« Reply #25 on: December 23, 2009, 10:35:44 AM »

So I don't know - does this mean that the XP machines are causing problems again? Is it just an overnight problem? If I could reboot the NAS, would it work during the day? I can't remotely reboot the NAS, at this point, to check - hmm, maybe I'll email the receptionist and have her unplug it and plug it back in.

Transfer speed is nothing to write home about, and something else I need to address, but they can all access each other peer to peer without being painfully slow. I'd have to get the speeds.

One thing - while it isn't a home network, it's not a high-end work network, if you get my meaning. ;)

I would venture to say that at this point, you would be the only one that could answer that question sholland. I'll listen for a scream or the lack of one to get my answer from you! ;) ;)

And yep, I get your meaning. But some homes have a far more complicated network than some businesses, so I guess it depends on yer definition of "high-end". My company is thinking of replacing it's high-end" email server and their "high-end" virus scanner, they are both 386 rigs right now, get my meaning?  ;)  ;)

Glad yer making progress though sholland, that should make you feel good at least. A nice way to cap off a nasty year I'd say!  :D
Logged
Must be time for bed,
The sun is coming up

JoeSchmuck

  • Level 3 Member
  • ***
  • Posts: 231
  • Retired Rocket Scientist
Re: NAS gets very slow and unresponsive
« Reply #26 on: December 23, 2009, 12:44:28 PM »

Sarah,
  When you get back to your machines I think you should take a look at those computers again, verify something didn't change back to original. 

Did you ever try a network switch?  Maybe you could buy or borrow one, try it out, if it works, keep it, if not, return it.  I just bought a "Trendnet 5-port Gigabit GREENnet Switch - 5 x 10/100/1000Mbps Auto-MDIX RJ-45 Ports, IEEE 802.3x Flow Control" for $40.00.  There are cheaper ones but I'd like to keep mine running for 5 years or more.

Did you ever hook the NAS up to the network switch in the closet?

-Joe
Logged

TheWitness

  • Level 2 Member
  • **
  • Posts: 56
Re: NAS gets very slow and unresponsive
« Reply #27 on: December 29, 2009, 09:31:57 AM »

The correct workaround here is to install funplug and sshd.  Once you have access to the device using Putty, run "top" which will tell you what is going on.  The unit has a rudimentary Linux kernel but very limited memory.  In addition, it does not handle multiple access very good and it's media server is not UPNP certified (and does not work in Windows7, I have confirmed this with Microsofts UPNP development team).

Since the unit has only a small amount of memory, most is used for the Linux kernel and only a little is left for OS disk cache.  This will always end up blowing performance.

I ended up disabling the UPNP server on the DNS-321 configuration page.  This caused the CPU to go from 100% in use performing an endless loop recaching of the media content to almost 0% CPU utilization during idle states (aka when top was not running ;)).

This opened up all the CPU for file transfers.  QED, problem on file transfer speed corrected.

TheWitness
« Last Edit: December 29, 2009, 09:35:02 AM by TheWitness »
Logged

sholland

  • Level 1 Member
  • *
  • Posts: 17
Re: NAS gets very slow and unresponsive
« Reply #28 on: December 29, 2009, 11:16:48 AM »

Aha! I *knew* there must be a way to figure out what was going on with the DNS-321 while it was running, but I'm not very linux-literate.

Here's several screen captures from TOP (not showing all items, just the top ones), and ranging from just recently restarted to seized up:

/ # top
Mem: 59396K used, 2432K free, 0K shrd, 19796K buff, 20436K cached
CPU:   0% usr  69% sys   0% nice   0% idle   0% io   0% irq  30% softirq
Load average: 2.39 2.04 1.06
  PID  PPID USER     STAT   VSZ %MEM %CPU COMMAND
  872     2 root     DW<      0   0%  53% [md0_resync]
  865     2 root     SW<      0   0%  35% [md0_raid1]
 2152  2151 root     R     1356   2%  12% top
 1637     1 root     S     8364  13%   0% /web/webs
 1877  1375 root     S     6012  10%   0% smbd -D
 1375     1 root     S     5740   9%   0% smbd -D
 1380  1375 root     S     5740   9%   0% smbd -D
 1753     1 root     S     4016   6%   0% pure-ftpd (SERVER)


Mem: 59228K used, 2600K free, 0K shrd, 18668K buff, 22472K cached
CPU:   0% usr  99% sys   0% nice   0% idle   0% io   0% irq   0% softirq
Load average: 15.42 13.70 8.
  PID  PPID USER     STAT   VSZ %MEM %CPU COMMAND
 2390  1375 nobody   R     6012  10%  72% smbd -D
 2403  1375 nobody   R     6012  10%  26% smbd -D
 2440  1375 nobody   R     6024  10%   0% smbd -D
 2152  2151 root     R     1360   2%   0% top
  872     2 root     DW<      0   0%   0% [md0_resync]
  865     2 root     SW<      0   0%   0% [md0_raid1]

Mem: 60064K used, 1764K free, 0K shrd, 18672K buff, 23296K cached
CPU:   0% usr 100% sys   0% nice   0% idle   0% io   0% irq   0% softirq
Load average: 15.07 13.68 8.
  PID  PPID USER     STAT   VSZ %MEM %CPU COMMAND
 2424  1375 nobody   R     6012  10% 100% smbd -D
 2152  2151 root     R     1360   2%   0% top
   55     2 root     DW<      0   0%   0% [kswapd0]
 1637     1 root     S     8364  13%   0% /web/webs
 2440  1375 nobody   R     6024  10%   0% smbd -D
 1877  1375 nobody   R     6012  10%   0% smbd -D
 2390  1375 nobody   R     6012  10%   0% smbd -D
 2403  1375 nobody   R     6012  10%   0% smbd -D
 2350  1375 nobody   D     6012  10%   0% smbd -D
 1375     1 root     S     5740   9%   0% smbd -D
 1380  1375 root     S     5740   9%   0% smbd -D
 1753     1 root     S     4016   6%   0% pure-ftpd (SERVER)

Mem: 60600K used, 1228K free, 0K shrd, 18644K buff, 23836K cached
CPU:   0% usr  99% sys   0% nice   0% idle   0% io   0% irq   0% softirq
Load average: 13.86 13.64 9.
  PID  PPID USER     STAT   VSZ %MEM %CPU COMMAND
 1877  1375 nobody   R     6012  10%  77% smbd -D
 2403  1375 nobody   R     6012  10%  22% smbd -D
 2152  2151 root     R     1360   2%   0% top
 2440  1375 nobody   R     6024  10%   0% smbd -D
 1637     1 root     S     8364  13%   0% /web/webs
 2390  1375 nobody   R     6012  10%   0% smbd -D
 2424  1375 nobody   R     6012  10%   0% smbd -D
 2350  1375 nobody   D     6012  10%   0% smbd -D
 1375     1 root     S     5740   9%   0% smbd -D
 1380  1375 root     S     5740   9%   0% smbd -D
 1753     1 root     S     4016   6%   0% pure-ftpd (SERVER)


Mean anything to anyone?  ???
Logged

TheWitness

  • Level 2 Member
  • **
  • Posts: 56
Re: NAS gets very slow and unresponsive
« Reply #29 on: December 29, 2009, 11:52:37 AM »

The "resync" tells me that something was/is being written to the partition and it's performing a software raid (unfortunate), or that the disks are out of sync, like you had a soft error and the disks had to resync.  The "smbd" are actual file transfers.  As you can see, one smbd is able to eat the entire CPU, which means that as every subsequent consumer comes on board, the throughput is going to drop.

TheWitness
Logged
Pages: 1 [2] 3